donut-decomp/asm/libnw4r_snd/snd_StrmPlayer_80115fa0.s

3396 lines
164 KiB
ArmAsm
Raw Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
2022-10-16 16:31:36 +00:00
.global __ct__Q44nw4r3snd6detail10StrmPlayerFv
__ct__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80115FA0 00111DE0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80115FA4 00111DE4 7C 08 02 A6 */ mflr r0
/* 80115FA8 00111DE8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80115FAC 00111DEC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80115FB0 00111DF0 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80115FB4 00111DF4 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 80115FB8 00111DF8 4B FE F3 B9 */ bl __ct__Q44nw4r3snd6detail11BasicPlayerFv
/* 80115FBC 00111DFC 3C C0 80 44 */ lis r6, __vt__Q44nw4r3snd6detail10StrmPlayer@ha
2022-10-16 16:05:58 +00:00
/* 80115FC0 00111E00 3B E0 00 00 */ li r31, 0x0
2022-10-16 16:31:36 +00:00
/* 80115FC4 00111E04 38 C6 25 28 */ addi r6, r6, __vt__Q44nw4r3snd6detail10StrmPlayer@l
/* 80115FC8 00111E08 3D 00 80 44 */ lis r8, __vt__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTask@ha
2022-10-16 16:05:58 +00:00
/* 80115FCC 00111E0C 39 3E 01 78 */ addi r9, r30, 0x178
2022-10-16 16:31:36 +00:00
/* 80115FD0 00111E10 3C 80 80 12 */ lis r4, __ct__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@ha
2022-10-16 16:05:58 +00:00
/* 80115FD4 00111E14 38 06 00 24 */ addi r0, r6, 0x24
2022-10-16 16:31:36 +00:00
/* 80115FD8 00111E18 39 08 25 88 */ addi r8, r8, __vt__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTask@l
/* 80115FDC 00111E1C 3C A0 80 11 */ lis r5, __dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@ha
2022-10-16 16:05:58 +00:00
/* 80115FE0 00111E20 90 DE 00 00 */ stw r6, 0x0(r30)
/* 80115FE4 00111E24 38 7E 01 84 */ addi r3, r30, 0x184
2022-10-16 16:31:36 +00:00
/* 80115FE8 00111E28 38 84 88 10 */ addi r4, r4, __ct__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@l
2022-10-16 16:05:58 +00:00
/* 80115FEC 00111E2C 93 FE 00 B4 */ stw r31, 0xb4(r30)
2022-10-16 16:31:36 +00:00
/* 80115FF0 00111E30 38 A5 60 A0 */ addi r5, r5, __dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@l
2022-10-16 16:05:58 +00:00
/* 80115FF4 00111E34 38 C0 00 34 */ li r6, 0x34
/* 80115FF8 00111E38 38 E0 00 20 */ li r7, 0x20
/* 80115FFC 00111E3C 93 FE 00 B8 */ stw r31, 0xb8(r30)
/* 80116000 00111E40 90 1E 00 BC */ stw r0, 0xbc(r30)
/* 80116004 00111E44 9B FE 01 00 */ stb r31, 0x100(r30)
/* 80116008 00111E48 9B FE 01 01 */ stb r31, 0x101(r30)
/* 8011600C 00111E4C 93 FE 01 58 */ stw r31, 0x158(r30)
/* 80116010 00111E50 93 FE 01 5C */ stw r31, 0x15c(r30)
/* 80116014 00111E54 9B FE 01 60 */ stb r31, 0x160(r30)
/* 80116018 00111E58 91 1E 01 54 */ stw r8, 0x154(r30)
/* 8011601C 00111E5C 93 FE 01 64 */ stw r31, 0x164(r30)
/* 80116020 00111E60 93 FE 01 68 */ stw r31, 0x168(r30)
/* 80116024 00111E64 93 FE 01 70 */ stw r31, 0x170(r30)
/* 80116028 00111E68 93 FE 01 74 */ stw r31, 0x174(r30)
/* 8011602C 00111E6C 91 3E 01 78 */ stw r9, 0x178(r30)
/* 80116030 00111E70 91 3E 01 7C */ stw r9, 0x17c(r30)
/* 80116034 00111E74 93 FE 01 80 */ stw r31, 0x180(r30)
2022-10-16 16:31:36 +00:00
/* 80116038 00111E78 4B EF 0F ED */ bl __construct_array
2022-10-16 16:05:58 +00:00
/* 8011603C 00111E7C 93 FE 08 08 */ stw r31, 0x808(r30)
2022-10-16 16:31:36 +00:00
/* 80116040 00111E80 88 0D EC 20 */ lbz r0, sStaticInitFlag__Q44nw4r3snd6detail10StrmPlayer@sda21(r13)
2022-10-16 16:05:58 +00:00
/* 80116044 00111E84 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116048 00111E88 40 82 00 18 */ bne lbl_80116060
2022-10-16 16:31:36 +00:00
/* 8011604C 00111E8C 3C 60 80 54 */ lis r3, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@ha
/* 80116050 00111E90 38 63 2F A0 */ addi r3, r3, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@l
/* 80116054 00111E94 4B F0 CB 0D */ bl OSInitMutex
2022-10-16 16:05:58 +00:00
/* 80116058 00111E98 38 00 00 01 */ li r0, 0x1
2022-10-16 16:31:36 +00:00
/* 8011605C 00111E9C 98 0D EC 20 */ stb r0, sStaticInitFlag__Q44nw4r3snd6detail10StrmPlayer@sda21(r13)
2022-10-16 16:05:58 +00:00
.global lbl_80116060
lbl_80116060:
/* 80116060 00111EA0 38 7E 01 80 */ addi r3, r30, 0x180
/* 80116064 00111EA4 38 9E 01 84 */ addi r4, r30, 0x184
/* 80116068 00111EA8 38 A0 06 80 */ li r5, 0x680
/* 8011606C 00111EAC 38 C0 00 34 */ li r6, 0x34
2022-10-16 16:31:36 +00:00
/* 80116070 00111EB0 4B FF 38 81 */ bl CreateImpl__Q44nw4r3snd6detail8PoolImplFPvUlUl
2022-10-16 16:05:58 +00:00
/* 80116074 00111EB4 7F C3 F3 78 */ mr r3, r30
/* 80116078 00111EB8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8011607C 00111EBC 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80116080 00111EC0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80116084 00111EC4 7C 08 03 A6 */ mtlr r0
/* 80116088 00111EC8 38 21 00 10 */ addi r1, r1, 0x10
/* 8011608C 00111ECC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __dt__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv
__dt__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv:
/* 80116090 00111ED0 4B FF 77 20 */ b __dt__Q54nw4r3snd6detail8SeqSound11SeqLoadTaskFv
2022-10-16 16:05:58 +00:00
/* 80116094 00111ED4 00 00 00 00 */ .4byte 0x00000000
/* 80116098 00111ED8 00 00 00 00 */ .4byte 0x00000000
/* 8011609C 00111EDC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv
__dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv:
/* 801160A0 00111EE0 4B FF 77 10 */ b __dt__Q54nw4r3snd6detail8SeqSound11SeqLoadTaskFv
2022-10-16 16:05:58 +00:00
/* 801160A4 00111EE4 00 00 00 00 */ .4byte 0x00000000
/* 801160A8 00111EE8 00 00 00 00 */ .4byte 0x00000000
/* 801160AC 00111EEC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __dt__Q44nw4r3snd6detail10StrmPlayerFv
__dt__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 801160B0 00111EF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801160B4 00111EF4 7C 08 02 A6 */ mflr r0
/* 801160B8 00111EF8 2C 03 00 00 */ cmpwi r3, 0x0
/* 801160BC 00111EFC 90 01 00 24 */ stw r0, 0x24(r1)
/* 801160C0 00111F00 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801160C4 00111F04 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801160C8 00111F08 7C 9E 23 78 */ mr r30, r4
/* 801160CC 00111F0C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801160D0 00111F10 7C 7D 1B 78 */ mr r29, r3
/* 801160D4 00111F14 41 82 00 BC */ beq lbl_80116190
2022-10-16 16:31:36 +00:00
/* 801160D8 00111F18 3D 80 80 44 */ lis r12, __vt__Q44nw4r3snd6detail10StrmPlayer@ha
/* 801160DC 00111F1C 39 8C 25 28 */ addi r12, r12, __vt__Q44nw4r3snd6detail10StrmPlayer@l
2022-10-16 16:05:58 +00:00
/* 801160E0 00111F20 91 83 00 00 */ stw r12, 0x0(r3)
/* 801160E4 00111F24 38 0C 00 24 */ addi r0, r12, 0x24
/* 801160E8 00111F28 90 03 00 BC */ stw r0, 0xbc(r3)
/* 801160EC 00111F2C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801160F0 00111F30 7D 89 03 A6 */ mtctr r12
/* 801160F4 00111F34 4E 80 04 21 */ bctrl
2022-10-16 16:31:36 +00:00
/* 801160F8 00111F38 4B FF EB E9 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801160FC 00111F3C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116100 00111F40 4B F0 CA A1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116104 00111F44 88 1D 01 00 */ lbz r0, 0x100(r29)
/* 80116108 00111F48 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011610C 00111F4C 40 82 00 14 */ bne lbl_80116120
2022-10-16 16:31:36 +00:00
/* 80116110 00111F50 4B FF EB D1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116114 00111F54 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116118 00111F58 4B F0 CB 69 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8011611C 00111F5C 48 00 00 2C */ b lbl_80116148
.global lbl_80116120
lbl_80116120:
/* 80116120 00111F60 3B E0 00 00 */ li r31, 0x0
/* 80116124 00111F64 93 FD 08 04 */ stw r31, 0x804(r29)
/* 80116128 00111F68 38 7D 01 80 */ addi r3, r29, 0x180
/* 8011612C 00111F6C 38 9D 01 84 */ addi r4, r29, 0x184
/* 80116130 00111F70 38 A0 06 80 */ li r5, 0x680
2022-10-16 16:31:36 +00:00
/* 80116134 00111F74 4B FF 39 0D */ bl DestroyImpl__Q44nw4r3snd6detail8PoolImplFPvUl
2022-10-16 16:05:58 +00:00
/* 80116138 00111F78 9B FD 01 00 */ stb r31, 0x100(r29)
2022-10-16 16:31:36 +00:00
/* 8011613C 00111F7C 4B FF EB A5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116140 00111F80 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116144 00111F84 4B F0 CB 3D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116148
lbl_80116148:
2022-10-16 16:31:36 +00:00
/* 80116148 00111F88 3C 80 80 11 */ lis r4, __dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@ha
2022-10-16 16:05:58 +00:00
/* 8011614C 00111F8C 38 7D 01 84 */ addi r3, r29, 0x184
2022-10-16 16:31:36 +00:00
/* 80116150 00111F90 38 84 60 A0 */ addi r4, r4, __dt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv@l
2022-10-16 16:05:58 +00:00
/* 80116154 00111F94 38 A0 00 34 */ li r5, 0x34
/* 80116158 00111F98 38 C0 00 20 */ li r6, 0x20
2022-10-16 16:31:36 +00:00
/* 8011615C 00111F9C 4B EF 0F C1 */ bl __destroy_arr
2022-10-16 16:05:58 +00:00
/* 80116160 00111FA0 34 7D 01 74 */ addic. r3, r29, 0x174
/* 80116164 00111FA4 41 82 00 0C */ beq lbl_80116170
/* 80116168 00111FA8 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 8011616C 00111FAC 48 00 9B 15 */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
2022-10-16 16:05:58 +00:00
.global lbl_80116170
lbl_80116170:
/* 80116170 00111FB0 34 7D 01 54 */ addic. r3, r29, 0x154
/* 80116174 00111FB4 41 82 00 0C */ beq lbl_80116180
/* 80116178 00111FB8 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 8011617C 00111FBC 4B F8 EC 35 */ bl __dt__Q34nw4r2ef7EmitterFv
2022-10-16 16:05:58 +00:00
.global lbl_80116180
lbl_80116180:
/* 80116180 00111FC0 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80116184 00111FC4 40 81 00 0C */ ble lbl_80116190
/* 80116188 00111FC8 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 8011618C 00111FCC 48 0A 95 89 */ bl __dl__FPv
2022-10-16 16:05:58 +00:00
.global lbl_80116190
lbl_80116190:
/* 80116190 00111FD0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80116194 00111FD4 7F A3 EB 78 */ mr r3, r29
/* 80116198 00111FD8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8011619C 00111FDC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801161A0 00111FE0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801161A4 00111FE4 7C 08 03 A6 */ mtlr r0
/* 801161A8 00111FE8 38 21 00 20 */ addi r1, r1, 0x20
/* 801161AC 00111FEC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Setup__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail14StrmBufferPooliUsi
Setup__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail14StrmBufferPooliUsi:
2022-10-16 16:05:58 +00:00
/* 801161B0 00111FF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801161B4 00111FF4 7C 08 02 A6 */ mflr r0
/* 801161B8 00111FF8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801161BC 00111FFC 39 61 00 20 */ addi r11, r1, 0x20
/* 801161C0 00112000 4B EF 11 79 */ bl lbl_80007338
/* 801161C4 00112004 7C 7F 1B 78 */ mr r31, r3
/* 801161C8 00112008 7C 9E 23 78 */ mr r30, r4
/* 801161CC 0011200C 7C BC 2B 78 */ mr r28, r5
/* 801161D0 00112010 7C DB 33 78 */ mr r27, r6
/* 801161D4 00112014 7C FA 3B 78 */ mr r26, r7
2022-10-16 16:31:36 +00:00
/* 801161D8 00112018 4B FF EB 09 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801161DC 0011201C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 801161E0 00112020 4B F0 C9 C1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 801161E4 00112024 88 1F 01 00 */ lbz r0, 0x100(r31)
/* 801161E8 00112028 2C 00 00 00 */ cmpwi r0, 0x0
/* 801161EC 0011202C 41 82 00 68 */ beq lbl_80116254
/* 801161F0 00112030 81 9F 00 00 */ lwz r12, 0x0(r31)
/* 801161F4 00112034 7F E3 FB 78 */ mr r3, r31
/* 801161F8 00112038 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801161FC 0011203C 7D 89 03 A6 */ mtctr r12
/* 80116200 00112040 4E 80 04 21 */ bctrl
2022-10-16 16:31:36 +00:00
/* 80116204 00112044 4B FF EA DD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116208 00112048 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8011620C 0011204C 4B F0 C9 95 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116210 00112050 88 1F 01 00 */ lbz r0, 0x100(r31)
/* 80116214 00112054 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116218 00112058 40 82 00 14 */ bne lbl_8011622C
2022-10-16 16:31:36 +00:00
/* 8011621C 0011205C 4B FF EA C5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116220 00112060 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116224 00112064 4B F0 CA 5D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116228 00112068 48 00 00 2C */ b lbl_80116254
.global lbl_8011622C
lbl_8011622C:
/* 8011622C 0011206C 3B A0 00 00 */ li r29, 0x0
/* 80116230 00112070 93 BF 08 04 */ stw r29, 0x804(r31)
/* 80116234 00112074 38 7F 01 80 */ addi r3, r31, 0x180
/* 80116238 00112078 38 9F 01 84 */ addi r4, r31, 0x184
/* 8011623C 0011207C 38 A0 06 80 */ li r5, 0x680
2022-10-16 16:31:36 +00:00
/* 80116240 00112080 4B FF 38 01 */ bl DestroyImpl__Q44nw4r3snd6detail8PoolImplFPvUl
2022-10-16 16:05:58 +00:00
/* 80116244 00112084 9B BF 01 00 */ stb r29, 0x100(r31)
2022-10-16 16:31:36 +00:00
/* 80116248 00112088 4B FF EA 99 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8011624C 0011208C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116250 00112090 4B F0 CA 31 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116254
lbl_80116254:
/* 80116254 00112094 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80116258 00112098 48 00 09 89 */ bl InitParam__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 8011625C 0011209C 2C 1C 00 10 */ cmpwi r28, 0x10
/* 80116260 001120A0 38 00 00 10 */ li r0, 0x10
/* 80116264 001120A4 41 81 00 08 */ bgt lbl_8011626C
/* 80116268 001120A8 7F 80 E3 78 */ mr r0, r28
.global lbl_8011626C
lbl_8011626C:
/* 8011626C 001120AC 90 1F 08 10 */ stw r0, 0x810(r31)
/* 80116270 001120B0 7F E4 FB 78 */ mr r4, r31
/* 80116274 001120B4 38 A0 00 00 */ li r5, 0x0
/* 80116278 001120B8 38 00 00 01 */ li r0, 0x1
/* 8011627C 001120BC 48 00 00 24 */ b lbl_801162A0
.global lbl_80116280
lbl_80116280:
/* 80116280 001120C0 57 63 07 FF */ clrlwi. r3, r27, 31
/* 80116284 001120C4 41 82 00 10 */ beq lbl_80116294
/* 80116288 001120C8 2C 05 00 08 */ cmpwi r5, 0x8
/* 8011628C 001120CC 40 80 00 1C */ bge lbl_801162A8
/* 80116290 001120D0 98 04 0B 58 */ stb r0, 0xb58(r4)
.global lbl_80116294
lbl_80116294:
/* 80116294 001120D4 57 7B F8 7E */ srwi r27, r27, 1
/* 80116298 001120D8 38 84 00 38 */ addi r4, r4, 0x38
/* 8011629C 001120DC 38 A5 00 01 */ addi r5, r5, 0x1
.global lbl_801162A0
lbl_801162A0:
/* 801162A0 001120E0 2C 1B 00 00 */ cmpwi r27, 0x0
/* 801162A4 001120E4 40 82 FF DC */ bne lbl_80116280
.global lbl_801162A8
lbl_801162A8:
/* 801162A8 001120E8 2C 05 00 08 */ cmpwi r5, 0x8
/* 801162AC 001120EC 38 00 00 08 */ li r0, 0x8
/* 801162B0 001120F0 41 81 00 08 */ bgt lbl_801162B8
/* 801162B4 001120F4 7C A0 2B 78 */ mr r0, r5
.global lbl_801162B8
lbl_801162B8:
/* 801162B8 001120F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 801162BC 001120FC 90 1F 08 0C */ stw r0, 0x80c(r31)
/* 801162C0 00112100 40 82 00 18 */ bne lbl_801162D8
2022-10-16 16:31:36 +00:00
/* 801162C4 00112104 4B FF EA 1D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801162C8 00112108 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 801162CC 0011210C 4B F0 C9 B5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 801162D0 00112110 38 60 00 02 */ li r3, 0x2
/* 801162D4 00112114 48 00 00 DC */ b lbl_801163B0
.global lbl_801162D8
lbl_801162D8:
/* 801162D8 00112118 93 5F 08 14 */ stw r26, 0x814(r31)
/* 801162DC 0011211C 93 DF 08 04 */ stw r30, 0x804(r31)
2022-10-16 16:31:36 +00:00
/* 801162E0 00112120 4B F0 B5 41 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801162E4 00112124 80 1F 08 10 */ lwz r0, 0x810(r31)
/* 801162E8 00112128 7C 7E 1B 78 */ mr r30, r3
/* 801162EC 0011212C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801162F0 00112130 40 81 00 A0 */ ble lbl_80116390
/* 801162F4 00112134 7F FC FB 78 */ mr r28, r31
/* 801162F8 00112138 3B 60 00 00 */ li r27, 0x0
/* 801162FC 0011213C 48 00 00 58 */ b lbl_80116354
.global lbl_80116300
lbl_80116300:
/* 80116300 00112140 80 7F 08 04 */ lwz r3, 0x804(r31)
2022-10-16 16:31:36 +00:00
/* 80116304 00112144 4B FF F1 AD */ bl Alloc__Q44nw4r3snd6detail14StrmBufferPoolFv
2022-10-16 16:05:58 +00:00
/* 80116308 00112148 2C 03 00 00 */ cmpwi r3, 0x0
/* 8011630C 0011214C 40 82 00 3C */ bne lbl_80116348
/* 80116310 00112150 7F FA FB 78 */ mr r26, r31
/* 80116314 00112154 3B 80 00 00 */ li r28, 0x0
/* 80116318 00112158 3B A0 00 00 */ li r29, 0x0
/* 8011631C 0011215C 48 00 00 1C */ b lbl_80116338
.global lbl_80116320
lbl_80116320:
/* 80116320 00112160 80 7F 08 04 */ lwz r3, 0x804(r31)
/* 80116324 00112164 80 9A 08 18 */ lwz r4, 0x818(r26)
2022-10-16 16:31:36 +00:00
/* 80116328 00112168 4B FF F2 79 */ bl Free__Q44nw4r3snd6detail14StrmBufferPoolFPv
2022-10-16 16:05:58 +00:00
/* 8011632C 0011216C 93 BA 08 18 */ stw r29, 0x818(r26)
/* 80116330 00112170 3B 5A 00 34 */ addi r26, r26, 0x34
/* 80116334 00112174 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80116338
lbl_80116338:
/* 80116338 00112178 7C 1C D8 00 */ cmpw r28, r27
/* 8011633C 0011217C 41 80 FF E4 */ blt lbl_80116320
/* 80116340 00112180 38 00 00 00 */ li r0, 0x0
/* 80116344 00112184 48 00 00 20 */ b lbl_80116364
.global lbl_80116348
lbl_80116348:
/* 80116348 00112188 90 7C 08 18 */ stw r3, 0x818(r28)
/* 8011634C 0011218C 3B 9C 00 34 */ addi r28, r28, 0x34
/* 80116350 00112190 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80116354
lbl_80116354:
/* 80116354 00112194 80 1F 08 10 */ lwz r0, 0x810(r31)
/* 80116358 00112198 7C 1B 00 00 */ cmpw r27, r0
/* 8011635C 0011219C 41 80 FF A4 */ blt lbl_80116300
/* 80116360 001121A0 38 00 00 01 */ li r0, 0x1
.global lbl_80116364
lbl_80116364:
/* 80116364 001121A4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116368 001121A8 40 82 00 20 */ bne lbl_80116388
/* 8011636C 001121AC 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80116370 001121B0 4B F0 B4 F1 */ bl OSRestoreInterrupts
/* 80116374 001121B4 4B FF E9 6D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116378 001121B8 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8011637C 001121BC 4B F0 C9 05 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116380 001121C0 38 60 00 01 */ li r3, 0x1
/* 80116384 001121C4 48 00 00 2C */ b lbl_801163B0
.global lbl_80116388
lbl_80116388:
/* 80116388 001121C8 38 00 00 01 */ li r0, 0x1
/* 8011638C 001121CC 98 1F 01 0F */ stb r0, 0x10f(r31)
.global lbl_80116390
lbl_80116390:
/* 80116390 001121D0 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80116394 001121D4 4B F0 B4 CD */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80116398 001121D8 38 00 00 01 */ li r0, 0x1
/* 8011639C 001121DC 98 1F 01 00 */ stb r0, 0x100(r31)
2022-10-16 16:31:36 +00:00
/* 801163A0 001121E0 4B FF E9 41 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801163A4 001121E4 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 801163A8 001121E8 4B F0 C8 D9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 801163AC 001121EC 38 60 00 00 */ li r3, 0x0
.global lbl_801163B0
lbl_801163B0:
/* 801163B0 001121F0 39 61 00 20 */ addi r11, r1, 0x20
/* 801163B4 001121F4 4B EF 0F D1 */ bl lbl_80007384
/* 801163B8 001121F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801163BC 001121FC 7C 08 03 A6 */ mtlr r0
/* 801163C0 00112200 38 21 00 20 */ addi r1, r1, 0x20
/* 801163C4 00112204 4E 80 00 20 */ blr
/* 801163C8 00112208 00 00 00 00 */ .4byte 0x00000000
/* 801163CC 0011220C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Shutdown__Q44nw4r3snd6detail10StrmPlayerFv
Shutdown__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 801163D0 00112210 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801163D4 00112214 7C 08 02 A6 */ mflr r0
/* 801163D8 00112218 90 01 00 14 */ stw r0, 0x14(r1)
/* 801163DC 0011221C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801163E0 00112220 93 C1 00 08 */ stw r30, 0x8(r1)
/* 801163E4 00112224 7C 7E 1B 78 */ mr r30, r3
/* 801163E8 00112228 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801163EC 0011222C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801163F0 00112230 7D 89 03 A6 */ mtctr r12
/* 801163F4 00112234 4E 80 04 21 */ bctrl
2022-10-16 16:31:36 +00:00
/* 801163F8 00112238 4B FF E8 E9 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801163FC 0011223C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116400 00112240 4B F0 C7 A1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116404 00112244 88 1E 01 00 */ lbz r0, 0x100(r30)
/* 80116408 00112248 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011640C 0011224C 40 82 00 14 */ bne lbl_80116420
2022-10-16 16:31:36 +00:00
/* 80116410 00112250 4B FF E8 D1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116414 00112254 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116418 00112258 4B F0 C8 69 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8011641C 0011225C 48 00 00 2C */ b lbl_80116448
.global lbl_80116420
lbl_80116420:
/* 80116420 00112260 3B E0 00 00 */ li r31, 0x0
/* 80116424 00112264 93 FE 08 04 */ stw r31, 0x804(r30)
/* 80116428 00112268 38 7E 01 80 */ addi r3, r30, 0x180
/* 8011642C 0011226C 38 9E 01 84 */ addi r4, r30, 0x184
/* 80116430 00112270 38 A0 06 80 */ li r5, 0x680
2022-10-16 16:31:36 +00:00
/* 80116434 00112274 4B FF 36 0D */ bl DestroyImpl__Q44nw4r3snd6detail8PoolImplFPvUl
2022-10-16 16:05:58 +00:00
/* 80116438 00112278 9B FE 01 00 */ stb r31, 0x100(r30)
2022-10-16 16:31:36 +00:00
/* 8011643C 0011227C 4B FF E8 A5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116440 00112280 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116444 00112284 4B F0 C8 3D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116448
lbl_80116448:
/* 80116448 00112288 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8011644C 0011228C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80116450 00112290 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80116454 00112294 7C 08 03 A6 */ mtlr r0
/* 80116458 00112298 38 21 00 10 */ addi r1, r1, 0x10
/* 8011645C 0011229C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Prepare__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamQ54nw4r3snd6detail10StrmPlayer15StartOffsetTypei
Prepare__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamQ54nw4r3snd6detail10StrmPlayer15StartOffsetTypei:
2022-10-16 16:05:58 +00:00
/* 80116460 001122A0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80116464 001122A4 7C 08 02 A6 */ mflr r0
/* 80116468 001122A8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011646C 001122AC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80116470 001122B0 7C 9F 23 78 */ mr r31, r4
/* 80116474 001122B4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80116478 001122B8 7C DE 33 78 */ mr r30, r6
/* 8011647C 001122BC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80116480 001122C0 7C BD 2B 78 */ mr r29, r5
/* 80116484 001122C4 93 81 00 10 */ stw r28, 0x10(r1)
/* 80116488 001122C8 7C 7C 1B 78 */ mr r28, r3
2022-10-16 16:31:36 +00:00
/* 8011648C 001122CC 4B FF E8 55 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116490 001122D0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116494 001122D4 4B F0 C7 0D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116498 001122D8 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8011649C 001122DC 38 60 00 00 */ li r3, 0x0
/* 801164A0 001122E0 38 00 00 01 */ li r0, 0x1
/* 801164A4 001122E4 93 FC 08 08 */ stw r31, 0x808(r28)
/* 801164A8 001122E8 7F 9F E3 78 */ mr r31, r28
/* 801164AC 001122EC 93 BC 01 4C */ stw r29, 0x14c(r28)
/* 801164B0 001122F0 93 DC 01 50 */ stw r30, 0x150(r28)
/* 801164B4 001122F4 98 7C 01 04 */ stb r3, 0x104(r28)
/* 801164B8 001122F8 98 7C 01 05 */ stb r3, 0x105(r28)
/* 801164BC 001122FC 98 7C 01 06 */ stb r3, 0x106(r28)
/* 801164C0 00112300 98 1C 01 01 */ stb r0, 0x101(r28)
/* 801164C4 00112304 41 82 00 08 */ beq lbl_801164CC
/* 801164C8 00112308 3B FC 00 B4 */ addi r31, r28, 0xb4
.global lbl_801164CC
lbl_801164CC:
2022-10-16 16:31:36 +00:00
/* 801164CC 0011230C 4B FF E8 15 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801164D0 00112310 7F E4 FB 78 */ mr r4, r31
2022-10-16 16:31:36 +00:00
/* 801164D4 00112314 4B FF ED 3D */ bl RegisterPlayerCallback__Q44nw4r3snd6detail11SoundThreadFPQ54nw4r3snd6detail11SoundThread14PlayerCallback
2022-10-16 16:05:58 +00:00
/* 801164D8 00112318 80 9C 08 08 */ lwz r4, 0x808(r28)
/* 801164DC 0011231C 3B FC 01 54 */ addi r31, r28, 0x154
/* 801164E0 00112320 80 7C 01 4C */ lwz r3, 0x14c(r28)
/* 801164E4 00112324 80 1C 01 50 */ lwz r0, 0x150(r28)
/* 801164E8 00112328 93 9C 01 64 */ stw r28, 0x164(r28)
/* 801164EC 0011232C 90 9C 01 68 */ stw r4, 0x168(r28)
/* 801164F0 00112330 90 7C 01 6C */ stw r3, 0x16c(r28)
/* 801164F4 00112334 90 1C 01 70 */ stw r0, 0x170(r28)
2022-10-16 16:31:36 +00:00
/* 801164F8 00112338 48 00 2D 69 */ bl GetInstance__Q44nw4r3snd6detail11TaskManagerFv
2022-10-16 16:05:58 +00:00
/* 801164FC 0011233C 7F E4 FB 78 */ mr r4, r31
/* 80116500 00112340 38 A0 00 01 */ li r5, 0x1
2022-10-16 16:31:36 +00:00
/* 80116504 00112344 48 00 2E 8D */ bl AppendTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4TaskQ54nw4r3snd6detail11TaskManager12TaskPriority
/* 80116508 00112348 4B FF E7 D9 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8011650C 0011234C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116510 00112350 4B F0 C7 71 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116514 00112354 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80116518 00112358 38 60 00 01 */ li r3, 0x1
/* 8011651C 0011235C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80116520 00112360 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80116524 00112364 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80116528 00112368 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8011652C 0011236C 7C 08 03 A6 */ mtlr r0
/* 80116530 00112370 38 21 00 20 */ addi r1, r1, 0x20
/* 80116534 00112374 4E 80 00 20 */ blr
/* 80116538 00112378 00 00 00 00 */ .4byte 0x00000000
/* 8011653C 0011237C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Start__Q44nw4r3snd6detail10StrmPlayerFv
Start__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80116540 00112380 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 80116544 00112384 7C 08 02 A6 */ mflr r0
/* 80116548 00112388 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 8011654C 0011238C 39 61 00 C0 */ addi r11, r1, 0xc0
/* 80116550 00112390 4B EF 0D E5 */ bl lbl_80007334
/* 80116554 00112394 7C 7A 1B 78 */ mr r26, r3
2022-10-16 16:31:36 +00:00
/* 80116558 00112398 4B FF E7 89 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8011655C 0011239C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116560 001123A0 4B F0 C6 41 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116564 001123A4 88 1A 01 03 */ lbz r0, 0x103(r26)
/* 80116568 001123A8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011656C 001123AC 40 82 00 18 */ bne lbl_80116584
2022-10-16 16:31:36 +00:00
/* 80116570 001123B0 4B FF E7 71 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116574 001123B4 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116578 001123B8 4B F0 C7 09 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8011657C 001123BC 38 60 00 00 */ li r3, 0x0
/* 80116580 001123C0 48 00 02 FC */ b lbl_8011687C
.global lbl_80116584
lbl_80116584:
/* 80116584 001123C4 88 1A 01 02 */ lbz r0, 0x102(r26)
/* 80116588 001123C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011658C 001123CC 40 82 02 E0 */ bne lbl_8011686C
/* 80116590 001123D0 80 9A 08 14 */ lwz r4, 0x814(r26)
/* 80116594 001123D4 7F 43 D3 78 */ mr r3, r26
2022-10-16 16:31:36 +00:00
/* 80116598 001123D8 48 00 0E F9 */ bl AllocVoices__Q44nw4r3snd6detail10StrmPlayerFi
2022-10-16 16:05:58 +00:00
/* 8011659C 001123DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 801165A0 001123E0 40 82 00 54 */ bne lbl_801165F4
/* 801165A4 001123E4 7F 5C D3 78 */ mr r28, r26
/* 801165A8 001123E8 3B 60 00 00 */ li r27, 0x0
/* 801165AC 001123EC 3B 20 00 00 */ li r25, 0x0
/* 801165B0 001123F0 48 00 00 24 */ b lbl_801165D4
.global lbl_801165B4
lbl_801165B4:
/* 801165B4 001123F4 80 9C 08 18 */ lwz r4, 0x818(r28)
/* 801165B8 001123F8 2C 04 00 00 */ cmpwi r4, 0x0
/* 801165BC 001123FC 41 82 00 10 */ beq lbl_801165CC
/* 801165C0 00112400 80 7A 08 04 */ lwz r3, 0x804(r26)
2022-10-16 16:31:36 +00:00
/* 801165C4 00112404 4B FF EF DD */ bl Free__Q44nw4r3snd6detail14StrmBufferPoolFPv
2022-10-16 16:05:58 +00:00
/* 801165C8 00112408 93 3C 08 18 */ stw r25, 0x818(r28)
.global lbl_801165CC
lbl_801165CC:
/* 801165CC 0011240C 3B 9C 00 34 */ addi r28, r28, 0x34
/* 801165D0 00112410 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_801165D4
lbl_801165D4:
/* 801165D4 00112414 80 1A 08 10 */ lwz r0, 0x810(r26)
/* 801165D8 00112418 7C 1B 00 00 */ cmpw r27, r0
/* 801165DC 0011241C 41 80 FF D8 */ blt lbl_801165B4
2022-10-16 16:31:36 +00:00
/* 801165E0 00112420 4B FF E7 01 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801165E4 00112424 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 801165E8 00112428 4B F0 C6 99 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 801165EC 0011242C 38 60 00 00 */ li r3, 0x0
/* 801165F0 00112430 48 00 02 8C */ b lbl_8011687C
.global lbl_801165F4
lbl_801165F4:
/* 801165F4 00112434 38 00 00 00 */ li r0, 0x0
/* 801165F8 00112438 90 01 00 10 */ stw r0, 0x10(r1)
/* 801165FC 0011243C 7F 43 D3 78 */ mr r3, r26
/* 80116600 00112440 38 81 00 10 */ addi r4, r1, 0x10
/* 80116604 00112444 90 01 00 0C */ stw r0, 0xc(r1)
/* 80116608 00112448 38 A1 00 0C */ addi r5, r1, 0xc
/* 8011660C 0011244C 38 C1 00 08 */ addi r6, r1, 0x8
/* 80116610 00112450 90 01 00 08 */ stw r0, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116614 00112454 48 00 1E 8D */ bl CalcStartOffset__Q44nw4r3snd6detail10StrmPlayerFPlPUlPl
2022-10-16 16:05:58 +00:00
/* 80116618 00112458 2C 03 00 00 */ cmpwi r3, 0x0
/* 8011661C 0011245C 40 82 00 18 */ bne lbl_80116634
2022-10-16 16:31:36 +00:00
/* 80116620 00112460 4B FF E6 C1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116624 00112464 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116628 00112468 4B F0 C6 59 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8011662C 0011246C 38 60 00 00 */ li r3, 0x0
/* 80116630 00112470 48 00 02 4C */ b lbl_8011687C
.global lbl_80116634
lbl_80116634:
/* 80116634 00112474 80 7A 01 1C */ lwz r3, 0x11c(r26)
/* 80116638 00112478 3B A0 00 00 */ li r29, 0x0
/* 8011663C 0011247C 80 1A 01 34 */ lwz r0, 0x134(r26)
/* 80116640 00112480 80 9A 00 C0 */ lwz r4, 0xc0(r26)
/* 80116644 00112484 7C A3 01 D6 */ mullw r5, r3, r0
/* 80116648 00112488 80 7A 01 10 */ lwz r3, 0x110(r26)
/* 8011664C 0011248C 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80116650 00112490 2C 04 00 03 */ cmpwi r4, 0x3
/* 80116654 00112494 7C 03 02 14 */ add r0, r3, r0
/* 80116658 00112498 90 1A 01 10 */ stw r0, 0x110(r26)
/* 8011665C 0011249C 41 82 00 18 */ beq lbl_80116674
/* 80116660 001124A0 2C 04 00 02 */ cmpwi r4, 0x2
/* 80116664 001124A4 41 82 00 30 */ beq lbl_80116694
/* 80116668 001124A8 2C 04 00 01 */ cmpwi r4, 0x1
/* 8011666C 001124AC 41 82 00 30 */ beq lbl_8011669C
/* 80116670 001124B0 48 00 00 30 */ b lbl_801166A0
.global lbl_80116674
lbl_80116674:
/* 80116674 001124B4 54 A0 E8 FE */ srwi r0, r5, 3
/* 80116678 001124B8 54 A3 07 7F */ clrlwi. r3, r5, 29
/* 8011667C 001124BC 1F A0 00 0E */ mulli r29, r0, 0xe
/* 80116680 001124C0 41 82 00 20 */ beq lbl_801166A0
/* 80116684 001124C4 38 03 FF FF */ addi r0, r3, -0x1
/* 80116688 001124C8 54 00 08 3C */ slwi r0, r0, 1
/* 8011668C 001124CC 7F BD 02 14 */ add r29, r29, r0
/* 80116690 001124D0 48 00 00 10 */ b lbl_801166A0
.global lbl_80116694
lbl_80116694:
/* 80116694 001124D4 7C BD 2B 78 */ mr r29, r5
/* 80116698 001124D8 48 00 00 08 */ b lbl_801166A0
.global lbl_8011669C
lbl_8011669C:
/* 8011669C 001124DC 54 BD F8 7E */ srwi r29, r5, 1
.global lbl_801166A0
lbl_801166A0:
/* 801166A0 001124E0 3B 9A 0B 58 */ addi r28, r26, 0xb58
/* 801166A4 001124E4 3B 60 00 00 */ li r27, 0x0
/* 801166A8 001124E8 3B C0 00 01 */ li r30, 0x1
/* 801166AC 001124EC 3B E0 00 00 */ li r31, 0x0
/* 801166B0 001124F0 48 00 01 64 */ b lbl_80116814
.global lbl_801166B4
lbl_801166B4:
/* 801166B4 001124F4 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 801166B8 001124F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 801166BC 001124FC 41 82 01 50 */ beq lbl_8011680C
/* 801166C0 00112500 80 1A 00 C0 */ lwz r0, 0xc0(r26)
/* 801166C4 00112504 38 61 00 30 */ addi r3, r1, 0x30
/* 801166C8 00112508 90 01 00 18 */ stw r0, 0x18(r1)
/* 801166CC 0011250C 38 80 00 00 */ li r4, 0x0
/* 801166D0 00112510 9B C1 00 1C */ stb r30, 0x1c(r1)
/* 801166D4 00112514 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 801166D8 00112518 90 01 00 20 */ stw r0, 0x20(r1)
/* 801166DC 0011251C 80 1A 00 CC */ lwz r0, 0xcc(r26)
/* 801166E0 00112520 90 01 00 24 */ stw r0, 0x24(r1)
/* 801166E4 00112524 93 E1 00 28 */ stw r31, 0x28(r1)
/* 801166E8 00112528 93 A1 00 2C */ stw r29, 0x2c(r1)
/* 801166EC 0011252C 48 00 00 D4 */ b lbl_801167C0
.global lbl_801166F0
lbl_801166F0:
/* 801166F0 00112530 2C 04 00 02 */ cmpwi r4, 0x2
/* 801166F4 00112534 41 80 00 0C */ blt lbl_80116700
/* 801166F8 00112538 38 C0 00 00 */ li r6, 0x0
/* 801166FC 0011253C 48 00 00 28 */ b lbl_80116724
.global lbl_80116700
lbl_80116700:
/* 80116700 00112540 7C BC 22 14 */ add r5, r28, r4
/* 80116704 00112544 88 05 00 10 */ lbz r0, 0x10(r5)
/* 80116708 00112548 2C 00 00 10 */ cmpwi r0, 0x10
/* 8011670C 0011254C 41 80 00 0C */ blt lbl_80116718
/* 80116710 00112550 38 C0 00 00 */ li r6, 0x0
/* 80116714 00112554 48 00 00 10 */ b lbl_80116724
.global lbl_80116718
lbl_80116718:
/* 80116718 00112558 1C 00 00 34 */ mulli r0, r0, 0x34
/* 8011671C 0011255C 7C BA 02 14 */ add r5, r26, r0
/* 80116720 00112560 38 C5 08 18 */ addi r6, r5, 0x818
.global lbl_80116724
lbl_80116724:
/* 80116724 00112564 2C 06 00 00 */ cmpwi r6, 0x0
/* 80116728 00112568 41 82 00 90 */ beq lbl_801167B8
/* 8011672C 0011256C 80 06 00 00 */ lwz r0, 0x0(r6)
/* 80116730 00112570 90 03 00 00 */ stw r0, 0x0(r3)
/* 80116734 00112574 80 06 00 08 */ lwz r0, 0x8(r6)
/* 80116738 00112578 80 A6 00 04 */ lwz r5, 0x4(r6)
/* 8011673C 0011257C 90 A3 00 04 */ stw r5, 0x4(r3)
/* 80116740 00112580 90 03 00 08 */ stw r0, 0x8(r3)
/* 80116744 00112584 80 06 00 10 */ lwz r0, 0x10(r6)
/* 80116748 00112588 80 A6 00 0C */ lwz r5, 0xc(r6)
/* 8011674C 0011258C 90 A3 00 0C */ stw r5, 0xc(r3)
/* 80116750 00112590 90 03 00 10 */ stw r0, 0x10(r3)
/* 80116754 00112594 80 06 00 18 */ lwz r0, 0x18(r6)
/* 80116758 00112598 80 A6 00 14 */ lwz r5, 0x14(r6)
/* 8011675C 0011259C 90 A3 00 14 */ stw r5, 0x14(r3)
/* 80116760 001125A0 90 03 00 18 */ stw r0, 0x18(r3)
/* 80116764 001125A4 80 06 00 20 */ lwz r0, 0x20(r6)
/* 80116768 001125A8 80 A6 00 1C */ lwz r5, 0x1c(r6)
/* 8011676C 001125AC 90 A3 00 1C */ stw r5, 0x1c(r3)
/* 80116770 001125B0 90 03 00 20 */ stw r0, 0x20(r3)
/* 80116774 001125B4 A0 06 00 24 */ lhz r0, 0x24(r6)
/* 80116778 001125B8 B0 03 00 24 */ sth r0, 0x24(r3)
/* 8011677C 001125BC A0 06 00 26 */ lhz r0, 0x26(r6)
/* 80116780 001125C0 B0 03 00 26 */ sth r0, 0x26(r3)
/* 80116784 001125C4 A0 06 00 28 */ lhz r0, 0x28(r6)
/* 80116788 001125C8 B0 03 00 28 */ sth r0, 0x28(r3)
/* 8011678C 001125CC A0 06 00 2A */ lhz r0, 0x2a(r6)
/* 80116790 001125D0 B0 03 00 2A */ sth r0, 0x2a(r3)
/* 80116794 001125D4 A0 06 00 2C */ lhz r0, 0x2c(r6)
/* 80116798 001125D8 B0 03 00 2C */ sth r0, 0x2c(r3)
/* 8011679C 001125DC A0 06 00 2E */ lhz r0, 0x2e(r6)
/* 801167A0 001125E0 B0 03 00 2E */ sth r0, 0x2e(r3)
/* 801167A4 001125E4 A0 06 00 30 */ lhz r0, 0x30(r6)
/* 801167A8 001125E8 B0 03 00 30 */ sth r0, 0x30(r3)
/* 801167AC 001125EC 80 A6 00 00 */ lwz r5, 0x0(r6)
/* 801167B0 001125F0 88 05 00 00 */ lbz r0, 0x0(r5)
/* 801167B4 001125F4 B0 03 00 26 */ sth r0, 0x26(r3)
.global lbl_801167B8
lbl_801167B8:
/* 801167B8 001125F8 38 63 00 34 */ addi r3, r3, 0x34
/* 801167BC 001125FC 38 84 00 01 */ addi r4, r4, 0x1
.global lbl_801167C0
lbl_801167C0:
/* 801167C0 00112600 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 801167C4 00112604 7C 04 00 00 */ cmpw r4, r0
/* 801167C8 00112608 41 80 FF 28 */ blt lbl_801166F0
2022-10-16 16:31:36 +00:00
/* 801167CC 0011260C 4B F0 B0 55 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801167D0 00112610 80 1C 00 04 */ lwz r0, 0x4(r28)
/* 801167D4 00112614 7C 79 1B 78 */ mr r25, r3
/* 801167D8 00112618 2C 00 00 00 */ cmpwi r0, 0x0
/* 801167DC 0011261C 41 82 00 28 */ beq lbl_80116804
/* 801167E0 00112620 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 801167E4 00112624 7C 03 03 78 */ mr r3, r0
/* 801167E8 00112628 38 81 00 18 */ addi r4, r1, 0x18
2022-10-16 16:31:36 +00:00
/* 801167EC 0011262C 48 00 3F 05 */ bl Setup__Q44nw4r3snd6detail5VoiceFRCQ44nw4r3snd6detail8WaveInfoUl
2022-10-16 16:05:58 +00:00
/* 801167F0 00112630 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 801167F4 00112634 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 801167F8 00112638 48 00 49 F9 */ bl SetVoiceType__Q44nw4r3snd6detail5VoiceFQ54nw4r3snd6detail7AxVoice9VoiceType
2022-10-16 16:05:58 +00:00
/* 801167FC 0011263C 80 7C 00 04 */ lwz r3, 0x4(r28)
2022-10-16 16:31:36 +00:00
/* 80116800 00112640 48 00 40 F1 */ bl Start__Q44nw4r3snd6detail5VoiceFv
2022-10-16 16:05:58 +00:00
.global lbl_80116804
lbl_80116804:
/* 80116804 00112644 7F 23 CB 78 */ mr r3, r25
2022-10-16 16:31:36 +00:00
/* 80116808 00112648 4B F0 B0 59 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
.global lbl_8011680C
lbl_8011680C:
/* 8011680C 0011264C 3B 9C 00 38 */ addi r28, r28, 0x38
/* 80116810 00112650 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80116814
lbl_80116814:
/* 80116814 00112654 80 1A 08 0C */ lwz r0, 0x80c(r26)
/* 80116818 00112658 7C 1B 00 00 */ cmpw r27, r0
/* 8011681C 0011265C 41 80 FE 98 */ blt lbl_801166B4
/* 80116820 00112660 80 7A 00 E0 */ lwz r3, 0xe0(r26)
/* 80116824 00112664 80 81 00 10 */ lwz r4, 0x10(r1)
/* 80116828 00112668 38 03 FF FE */ addi r0, r3, -0x2
/* 8011682C 0011266C 7C 04 00 40 */ cmplw r4, r0
/* 80116830 00112670 40 82 00 14 */ bne lbl_80116844
/* 80116834 00112674 7F 43 D3 78 */ mr r3, r26
/* 80116838 00112678 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8011683C 0011267C 48 00 17 25 */ bl UpdateDataLoopAddress__Q44nw4r3snd6detail10StrmPlayerFl
2022-10-16 16:05:58 +00:00
/* 80116840 00112680 48 00 00 1C */ b lbl_8011685C
.global lbl_80116844
lbl_80116844:
/* 80116844 00112684 38 03 FF FF */ addi r0, r3, -0x1
/* 80116848 00112688 7C 04 00 40 */ cmplw r4, r0
/* 8011684C 0011268C 40 82 00 10 */ bne lbl_8011685C
/* 80116850 00112690 7F 43 D3 78 */ mr r3, r26
/* 80116854 00112694 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 80116858 00112698 48 00 17 09 */ bl UpdateDataLoopAddress__Q44nw4r3snd6detail10StrmPlayerFl
2022-10-16 16:05:58 +00:00
.global lbl_8011685C
lbl_8011685C:
/* 8011685C 0011269C 7F 43 D3 78 */ mr r3, r26
2022-10-16 16:31:36 +00:00
/* 80116860 001126A0 48 00 1B 81 */ bl UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80116864 001126A4 38 00 00 01 */ li r0, 0x1
/* 80116868 001126A8 98 1A 01 02 */ stb r0, 0x102(r26)
.global lbl_8011686C
lbl_8011686C:
2022-10-16 16:31:36 +00:00
/* 8011686C 001126AC 4B FF E4 75 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116870 001126B0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116874 001126B4 4B F0 C4 0D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116878 001126B8 38 60 00 01 */ li r3, 0x1
.global lbl_8011687C
lbl_8011687C:
/* 8011687C 001126BC 39 61 00 C0 */ addi r11, r1, 0xc0
/* 80116880 001126C0 4B EF 0B 01 */ bl lbl_80007380
/* 80116884 001126C4 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80116888 001126C8 7C 08 03 A6 */ mtlr r0
/* 8011688C 001126CC 38 21 00 C0 */ addi r1, r1, 0xc0
/* 80116890 001126D0 4E 80 00 20 */ blr
/* 80116894 001126D4 00 00 00 00 */ .4byte 0x00000000
/* 80116898 001126D8 00 00 00 00 */ .4byte 0x00000000
/* 8011689C 001126DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Stop__Q44nw4r3snd6detail10StrmPlayerFv
Stop__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 801168A0 001126E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801168A4 001126E4 7C 08 02 A6 */ mflr r0
/* 801168A8 001126E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801168AC 001126EC 39 61 00 20 */ addi r11, r1, 0x20
/* 801168B0 001126F0 4B EF 0A 8D */ bl lbl_8000733C
/* 801168B4 001126F4 7C 7F 1B 78 */ mr r31, r3
2022-10-16 16:31:36 +00:00
/* 801168B8 001126F8 4B FF E4 29 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 801168BC 001126FC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 801168C0 00112700 4B F0 C2 E1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 801168C4 00112704 7F FB FB 78 */ mr r27, r31
/* 801168C8 00112708 3B 80 00 00 */ li r28, 0x0
.global lbl_801168CC
lbl_801168CC:
/* 801168CC 0011270C 88 1B 0B 58 */ lbz r0, 0xb58(r27)
/* 801168D0 00112710 2C 00 00 00 */ cmpwi r0, 0x0
/* 801168D4 00112714 41 82 00 14 */ beq lbl_801168E8
/* 801168D8 00112718 80 7B 0B 5C */ lwz r3, 0xb5c(r27)
/* 801168DC 0011271C 2C 03 00 00 */ cmpwi r3, 0x0
/* 801168E0 00112720 41 82 00 08 */ beq lbl_801168E8
2022-10-16 16:31:36 +00:00
/* 801168E4 00112724 48 00 40 2D */ bl Stop__Q44nw4r3snd6detail5VoiceFv
2022-10-16 16:05:58 +00:00
.global lbl_801168E8
lbl_801168E8:
/* 801168E8 00112728 3B 9C 00 01 */ addi r28, r28, 0x1
/* 801168EC 0011272C 3B 7B 00 38 */ addi r27, r27, 0x38
/* 801168F0 00112730 2C 1C 00 08 */ cmpwi r28, 0x8
/* 801168F4 00112734 41 80 FF D8 */ blt lbl_801168CC
/* 801168F8 00112738 88 1F 01 01 */ lbz r0, 0x101(r31)
/* 801168FC 0011273C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116900 00112740 41 82 00 20 */ beq lbl_80116920
/* 80116904 00112744 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80116908 00112748 7F FC FB 78 */ mr r28, r31
/* 8011690C 0011274C 41 82 00 08 */ beq lbl_80116914
/* 80116910 00112750 3B 9F 00 B4 */ addi r28, r31, 0xb4
.global lbl_80116914
lbl_80116914:
2022-10-16 16:31:36 +00:00
/* 80116914 00112754 4B FF E3 CD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116918 00112758 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 8011691C 0011275C 4B FF E9 65 */ bl UnregisterPlayerCallback__Q44nw4r3snd6detail11SoundThreadFPQ54nw4r3snd6detail11SoundThread14PlayerCallback
2022-10-16 16:05:58 +00:00
.global lbl_80116920
lbl_80116920:
2022-10-16 16:31:36 +00:00
/* 80116920 00112760 4B FF E3 C1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116924 00112764 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116928 00112768 4B F0 C3 59 */ bl OSUnlockMutex
/* 8011692C 0011276C 48 00 29 35 */ bl GetInstance__Q44nw4r3snd6detail11TaskManagerFv
2022-10-16 16:05:58 +00:00
/* 80116930 00112770 38 9F 01 54 */ addi r4, r31, 0x154
2022-10-16 16:31:36 +00:00
/* 80116934 00112774 48 00 2D CD */ bl CancelTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4Task
/* 80116938 00112778 4B F0 AE E9 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 8011693C 0011277C 80 1F 01 74 */ lwz r0, 0x174(r31)
/* 80116940 00112780 7C 7E 1B 78 */ mr r30, r3
/* 80116944 00112784 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116948 00112788 41 82 00 24 */ beq lbl_8011696C
/* 8011694C 0011278C 48 00 00 14 */ b lbl_80116960
.global lbl_80116950
lbl_80116950:
/* 80116950 00112790 83 BF 01 7C */ lwz r29, 0x17c(r31)
2022-10-16 16:31:36 +00:00
/* 80116954 00112794 48 00 29 0D */ bl GetInstance__Q44nw4r3snd6detail11TaskManagerFv
2022-10-16 16:05:58 +00:00
/* 80116958 00112798 38 9D FF D4 */ addi r4, r29, -0x2c
2022-10-16 16:31:36 +00:00
/* 8011695C 0011279C 48 00 2D A5 */ bl CancelTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4Task
2022-10-16 16:05:58 +00:00
.global lbl_80116960
lbl_80116960:
/* 80116960 001127A0 80 1F 01 74 */ lwz r0, 0x174(r31)
/* 80116964 001127A4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116968 001127A8 40 82 FF E8 */ bne lbl_80116950
.global lbl_8011696C
lbl_8011696C:
/* 8011696C 001127AC 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80116970 001127B0 4B F0 AE F1 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80116974 001127B4 7F FB FB 78 */ mr r27, r31
/* 80116978 001127B8 3B C0 00 00 */ li r30, 0x0
/* 8011697C 001127BC 3B A0 00 00 */ li r29, 0x0
/* 80116980 001127C0 48 00 00 24 */ b lbl_801169A4
.global lbl_80116984
lbl_80116984:
/* 80116984 001127C4 80 9B 08 18 */ lwz r4, 0x818(r27)
/* 80116988 001127C8 2C 04 00 00 */ cmpwi r4, 0x0
/* 8011698C 001127CC 41 82 00 10 */ beq lbl_8011699C
/* 80116990 001127D0 80 7F 08 04 */ lwz r3, 0x804(r31)
2022-10-16 16:31:36 +00:00
/* 80116994 001127D4 4B FF EC 0D */ bl Free__Q44nw4r3snd6detail14StrmBufferPoolFPv
2022-10-16 16:05:58 +00:00
/* 80116998 001127D8 93 BB 08 18 */ stw r29, 0x818(r27)
.global lbl_8011699C
lbl_8011699C:
/* 8011699C 001127DC 3B 7B 00 34 */ addi r27, r27, 0x34
/* 801169A0 001127E0 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_801169A4
lbl_801169A4:
/* 801169A4 001127E4 80 1F 08 10 */ lwz r0, 0x810(r31)
/* 801169A8 001127E8 7C 1E 00 00 */ cmpw r30, r0
/* 801169AC 001127EC 41 80 FF D8 */ blt lbl_80116984
2022-10-16 16:31:36 +00:00
/* 801169B0 001127F0 4B F0 AE 71 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801169B4 001127F4 7C 7D 1B 78 */ mr r29, r3
/* 801169B8 001127F8 3B 7F 0B 58 */ addi r27, r31, 0xb58
/* 801169BC 001127FC 3B 80 00 00 */ li r28, 0x0
/* 801169C0 00112800 3B C0 00 00 */ li r30, 0x0
/* 801169C4 00112804 48 00 00 2C */ b lbl_801169F0
.global lbl_801169C8
lbl_801169C8:
/* 801169C8 00112808 88 1B 00 00 */ lbz r0, 0x0(r27)
/* 801169CC 0011280C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801169D0 00112810 41 82 00 18 */ beq lbl_801169E8
/* 801169D4 00112814 80 7B 00 04 */ lwz r3, 0x4(r27)
/* 801169D8 00112818 2C 03 00 00 */ cmpwi r3, 0x0
/* 801169DC 0011281C 41 82 00 0C */ beq lbl_801169E8
2022-10-16 16:31:36 +00:00
/* 801169E0 00112820 48 00 3C 41 */ bl Free__Q44nw4r3snd6detail5VoiceFv
2022-10-16 16:05:58 +00:00
/* 801169E4 00112824 93 DB 00 04 */ stw r30, 0x4(r27)
.global lbl_801169E8
lbl_801169E8:
/* 801169E8 00112828 3B 7B 00 38 */ addi r27, r27, 0x38
/* 801169EC 0011282C 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_801169F0
lbl_801169F0:
/* 801169F0 00112830 80 1F 08 0C */ lwz r0, 0x80c(r31)
/* 801169F4 00112834 7C 1C 00 00 */ cmpw r28, r0
/* 801169F8 00112838 41 80 FF D0 */ blt lbl_801169C8
/* 801169FC 0011283C 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 80116A00 00112840 4B F0 AE 61 */ bl OSRestoreInterrupts
/* 80116A04 00112844 4B FF E2 DD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116A08 00112848 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116A0C 0011284C 4B F0 C1 95 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116A10 00112850 80 7F 08 08 */ lwz r3, 0x808(r31)
/* 80116A14 00112854 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116A18 00112858 41 82 00 1C */ beq lbl_80116A34
/* 80116A1C 0011285C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80116A20 00112860 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80116A24 00112864 7D 89 03 A6 */ mtctr r12
/* 80116A28 00112868 4E 80 04 21 */ bctrl
/* 80116A2C 0011286C 38 00 00 00 */ li r0, 0x0
/* 80116A30 00112870 90 1F 08 08 */ stw r0, 0x808(r31)
.global lbl_80116A34
lbl_80116A34:
2022-10-16 16:31:36 +00:00
/* 80116A34 00112874 4B FF E2 AD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116A38 00112878 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116A3C 0011287C 4B F0 C2 45 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116A40 00112880 38 00 00 00 */ li r0, 0x0
/* 80116A44 00112884 98 1F 01 02 */ stb r0, 0x102(r31)
/* 80116A48 00112888 39 61 00 20 */ addi r11, r1, 0x20
/* 80116A4C 0011288C 98 1F 01 03 */ stb r0, 0x103(r31)
/* 80116A50 00112890 98 1F 01 01 */ stb r0, 0x101(r31)
/* 80116A54 00112894 4B EF 09 35 */ bl lbl_80007388
/* 80116A58 00112898 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80116A5C 0011289C 7C 08 03 A6 */ mtlr r0
/* 80116A60 001128A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80116A64 001128A4 4E 80 00 20 */ blr
/* 80116A68 001128A8 00 00 00 00 */ .4byte 0x00000000
/* 80116A6C 001128AC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Pause__Q44nw4r3snd6detail10StrmPlayerFb
Pause__Q44nw4r3snd6detail10StrmPlayerFb:
2022-10-16 16:05:58 +00:00
/* 80116A70 001128B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80116A74 001128B4 7C 08 02 A6 */ mflr r0
/* 80116A78 001128B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80116A7C 001128BC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80116A80 001128C0 7C 9F 23 78 */ mr r31, r4
/* 80116A84 001128C4 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80116A88 001128C8 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 80116A8C 001128CC 4B FF E2 55 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116A90 001128D0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116A94 001128D4 4B F0 C1 0D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116A98 001128D8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80116A9C 001128DC 9B FE 01 07 */ stb r31, 0x107(r30)
/* 80116AA0 001128E0 41 82 00 0C */ beq lbl_80116AAC
/* 80116AA4 001128E4 38 00 00 01 */ li r0, 0x1
/* 80116AA8 001128E8 98 1E 01 09 */ stb r0, 0x109(r30)
.global lbl_80116AAC
lbl_80116AAC:
/* 80116AAC 001128EC 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80116AB0 001128F0 48 00 19 31 */ bl UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
/* 80116AB4 001128F4 4B FF E2 2D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116AB8 001128F8 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116ABC 001128FC 4B F0 C1 C5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116AC0 00112900 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80116AC4 00112904 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80116AC8 00112908 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80116ACC 0011290C 7C 08 03 A6 */ mtlr r0
/* 80116AD0 00112910 38 21 00 10 */ addi r1, r1, 0x10
/* 80116AD4 00112914 4E 80 00 20 */ blr
/* 80116AD8 00112918 00 00 00 00 */ .4byte 0x00000000
/* 80116ADC 0011291C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetPlaySamplePosition__Q44nw4r3snd6detail10StrmPlayerCFv
GetPlaySamplePosition__Q44nw4r3snd6detail10StrmPlayerCFv:
2022-10-16 16:05:58 +00:00
/* 80116AE0 00112920 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80116AE4 00112924 7C 08 02 A6 */ mflr r0
/* 80116AE8 00112928 90 01 00 24 */ stw r0, 0x24(r1)
/* 80116AEC 0011292C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80116AF0 00112930 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80116AF4 00112934 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80116AF8 00112938 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 80116AFC 0011293C 4B FF E1 E5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116B00 00112940 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116B04 00112944 4B F0 C0 9D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116B08 00112948 88 1D 01 01 */ lbz r0, 0x101(r29)
/* 80116B0C 0011294C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116B10 00112950 40 82 00 18 */ bne lbl_80116B28
2022-10-16 16:31:36 +00:00
/* 80116B14 00112954 4B FF E1 CD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116B18 00112958 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116B1C 0011295C 4B F0 C1 65 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116B20 00112960 38 60 FF FF */ li r3, -0x1
/* 80116B24 00112964 48 00 00 98 */ b lbl_80116BBC
.global lbl_80116B28
lbl_80116B28:
/* 80116B28 00112968 88 1D 0B 58 */ lbz r0, 0xb58(r29)
/* 80116B2C 0011296C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116B30 00112970 40 82 00 18 */ bne lbl_80116B48
2022-10-16 16:31:36 +00:00
/* 80116B34 00112974 4B FF E1 AD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116B38 00112978 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116B3C 0011297C 4B F0 C1 45 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116B40 00112980 38 60 FF FF */ li r3, -0x1
/* 80116B44 00112984 48 00 00 78 */ b lbl_80116BBC
.global lbl_80116B48
lbl_80116B48:
/* 80116B48 00112988 88 1D 01 03 */ lbz r0, 0x103(r29)
/* 80116B4C 0011298C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116B50 00112990 40 82 00 18 */ bne lbl_80116B68
2022-10-16 16:31:36 +00:00
/* 80116B54 00112994 4B FF E1 8D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116B58 00112998 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116B5C 0011299C 4B F0 C1 25 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116B60 001129A0 38 60 00 00 */ li r3, 0x0
/* 80116B64 001129A4 48 00 00 58 */ b lbl_80116BBC
.global lbl_80116B68
lbl_80116B68:
/* 80116B68 001129A8 3B C0 00 00 */ li r30, 0x0
2022-10-16 16:31:36 +00:00
/* 80116B6C 001129AC 4B F0 AC B5 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80116B70 001129B0 80 1D 0B 5C */ lwz r0, 0xb5c(r29)
/* 80116B74 001129B4 7C 7F 1B 78 */ mr r31, r3
/* 80116B78 001129B8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116B7C 001129BC 41 82 00 10 */ beq lbl_80116B8C
/* 80116B80 001129C0 7C 03 03 78 */ mr r3, r0
2022-10-16 16:31:36 +00:00
/* 80116B84 001129C4 48 00 44 3D */ bl GetCurrentPlayingSample__Q44nw4r3snd6detail5VoiceCFv
2022-10-16 16:05:58 +00:00
/* 80116B88 001129C8 7C 7E 1B 78 */ mr r30, r3
.global lbl_80116B8C
lbl_80116B8C:
/* 80116B8C 001129CC 80 9D 01 38 */ lwz r4, 0x138(r29)
/* 80116B90 001129D0 7F E3 FB 78 */ mr r3, r31
/* 80116B94 001129D4 80 1D 01 3C */ lwz r0, 0x13c(r29)
/* 80116B98 001129D8 7F E4 00 50 */ subf r31, r4, r0
2022-10-16 16:31:36 +00:00
/* 80116B9C 001129DC 4B F0 AC C5 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80116BA0 001129E0 80 1D 00 E8 */ lwz r0, 0xe8(r29)
/* 80116BA4 001129E4 7C 1F 01 D6 */ mullw r0, r31, r0
/* 80116BA8 001129E8 7F E0 F2 14 */ add r31, r0, r30
2022-10-16 16:31:36 +00:00
/* 80116BAC 001129EC 4B FF E1 35 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 80116BB0 001129F0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 80116BB4 001129F4 4B F0 C0 CD */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 80116BB8 001129F8 7F E3 FB 78 */ mr r3, r31
.global lbl_80116BBC
lbl_80116BBC:
/* 80116BBC 001129FC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80116BC0 00112A00 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80116BC4 00112A04 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80116BC8 00112A08 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80116BCC 00112A0C 7C 08 03 A6 */ mtlr r0
/* 80116BD0 00112A10 38 21 00 20 */ addi r1, r1, 0x20
/* 80116BD4 00112A14 4E 80 00 20 */ blr
/* 80116BD8 00112A18 00 00 00 00 */ .4byte 0x00000000
/* 80116BDC 00112A1C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global InitParam__Q44nw4r3snd6detail10StrmPlayerFv
InitParam__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80116BE0 00112A20 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80116BE4 00112A24 7C 08 02 A6 */ mflr r0
/* 80116BE8 00112A28 90 01 00 14 */ stw r0, 0x14(r1)
/* 80116BEC 00112A2C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80116BF0 00112A30 7C 7F 1B 78 */ mr r31, r3
2022-10-16 16:31:36 +00:00
/* 80116BF4 00112A34 4B FE E8 3D */ bl InitParam__Q44nw4r3snd6detail11BasicPlayerFv
/* 80116BF8 00112A38 C0 22 94 78 */ lfs f1, "@11836"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80116BFC 00112A3C 38 60 00 00 */ li r3, 0x0
2022-10-16 16:31:36 +00:00
/* 80116C00 00112A40 C0 02 94 60 */ lfs f0, "@11788"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80116C04 00112A44 38 00 00 01 */ li r0, 0x1
/* 80116C08 00112A48 90 1F 08 14 */ stw r0, 0x814(r31)
/* 80116C0C 00112A4C D0 3F 0B 88 */ stfs f1, 0xb88(r31)
/* 80116C10 00112A50 D0 1F 0B 8C */ stfs f0, 0xb8c(r31)
/* 80116C14 00112A54 D0 3F 0B C0 */ stfs f1, 0xbc0(r31)
/* 80116C18 00112A58 D0 1F 0B C4 */ stfs f0, 0xbc4(r31)
/* 80116C1C 00112A5C D0 3F 0B F8 */ stfs f1, 0xbf8(r31)
/* 80116C20 00112A60 D0 1F 0B FC */ stfs f0, 0xbfc(r31)
/* 80116C24 00112A64 D0 3F 0C 30 */ stfs f1, 0xc30(r31)
/* 80116C28 00112A68 D0 1F 0C 34 */ stfs f0, 0xc34(r31)
/* 80116C2C 00112A6C D0 3F 0C 68 */ stfs f1, 0xc68(r31)
/* 80116C30 00112A70 D0 1F 0C 6C */ stfs f0, 0xc6c(r31)
/* 80116C34 00112A74 D0 3F 0C A0 */ stfs f1, 0xca0(r31)
/* 80116C38 00112A78 D0 1F 0C A4 */ stfs f0, 0xca4(r31)
/* 80116C3C 00112A7C D0 3F 0C D8 */ stfs f1, 0xcd8(r31)
/* 80116C40 00112A80 D0 1F 0C DC */ stfs f0, 0xcdc(r31)
/* 80116C44 00112A84 D0 3F 0D 10 */ stfs f1, 0xd10(r31)
/* 80116C48 00112A88 D0 1F 0D 14 */ stfs f0, 0xd14(r31)
/* 80116C4C 00112A8C 98 7F 01 02 */ stb r3, 0x102(r31)
/* 80116C50 00112A90 98 7F 01 03 */ stb r3, 0x103(r31)
/* 80116C54 00112A94 98 7F 01 0E */ stb r3, 0x10e(r31)
/* 80116C58 00112A98 98 7F 01 07 */ stb r3, 0x107(r31)
/* 80116C5C 00112A9C 98 7F 01 08 */ stb r3, 0x108(r31)
/* 80116C60 00112AA0 98 7F 01 09 */ stb r3, 0x109(r31)
/* 80116C64 00112AA4 98 7F 01 0A */ stb r3, 0x10a(r31)
/* 80116C68 00112AA8 98 7F 01 0D */ stb r3, 0x10d(r31)
/* 80116C6C 00112AAC 98 7F 01 0B */ stb r3, 0x10b(r31)
/* 80116C70 00112AB0 98 7F 01 0C */ stb r3, 0x10c(r31)
/* 80116C74 00112AB4 98 7F 01 0F */ stb r3, 0x10f(r31)
/* 80116C78 00112AB8 90 7F 01 10 */ stw r3, 0x110(r31)
/* 80116C7C 00112ABC 90 7F 01 48 */ stw r3, 0x148(r31)
/* 80116C80 00112AC0 98 7F 0B 58 */ stb r3, 0xb58(r31)
/* 80116C84 00112AC4 90 7F 0B 5C */ stw r3, 0xb5c(r31)
/* 80116C88 00112AC8 98 7F 0B 90 */ stb r3, 0xb90(r31)
/* 80116C8C 00112ACC 90 7F 0B 94 */ stw r3, 0xb94(r31)
/* 80116C90 00112AD0 98 7F 0B C8 */ stb r3, 0xbc8(r31)
/* 80116C94 00112AD4 90 7F 0B CC */ stw r3, 0xbcc(r31)
/* 80116C98 00112AD8 98 7F 0C 00 */ stb r3, 0xc00(r31)
/* 80116C9C 00112ADC 90 7F 0C 04 */ stw r3, 0xc04(r31)
/* 80116CA0 00112AE0 98 7F 0C 38 */ stb r3, 0xc38(r31)
/* 80116CA4 00112AE4 90 7F 0C 3C */ stw r3, 0xc3c(r31)
/* 80116CA8 00112AE8 98 7F 0C 70 */ stb r3, 0xc70(r31)
/* 80116CAC 00112AEC 90 7F 0C 74 */ stw r3, 0xc74(r31)
/* 80116CB0 00112AF0 98 7F 0C A8 */ stb r3, 0xca8(r31)
/* 80116CB4 00112AF4 90 7F 0C AC */ stw r3, 0xcac(r31)
/* 80116CB8 00112AF8 98 7F 0C E0 */ stb r3, 0xce0(r31)
/* 80116CBC 00112AFC 90 7F 0C E4 */ stw r3, 0xce4(r31)
/* 80116CC0 00112B00 90 7F 08 18 */ stw r3, 0x818(r31)
/* 80116CC4 00112B04 90 7F 08 4C */ stw r3, 0x84c(r31)
/* 80116CC8 00112B08 90 7F 08 80 */ stw r3, 0x880(r31)
/* 80116CCC 00112B0C 90 7F 08 B4 */ stw r3, 0x8b4(r31)
/* 80116CD0 00112B10 90 7F 08 E8 */ stw r3, 0x8e8(r31)
/* 80116CD4 00112B14 90 7F 09 1C */ stw r3, 0x91c(r31)
/* 80116CD8 00112B18 90 7F 09 50 */ stw r3, 0x950(r31)
/* 80116CDC 00112B1C 90 7F 09 84 */ stw r3, 0x984(r31)
/* 80116CE0 00112B20 90 7F 09 B8 */ stw r3, 0x9b8(r31)
/* 80116CE4 00112B24 90 7F 09 EC */ stw r3, 0x9ec(r31)
/* 80116CE8 00112B28 90 7F 0A 20 */ stw r3, 0xa20(r31)
/* 80116CEC 00112B2C 90 7F 0A 54 */ stw r3, 0xa54(r31)
/* 80116CF0 00112B30 90 7F 0A 88 */ stw r3, 0xa88(r31)
/* 80116CF4 00112B34 90 7F 0A BC */ stw r3, 0xabc(r31)
/* 80116CF8 00112B38 90 7F 0A F0 */ stw r3, 0xaf0(r31)
/* 80116CFC 00112B3C 90 7F 0B 24 */ stw r3, 0xb24(r31)
/* 80116D00 00112B40 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80116D04 00112B44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80116D08 00112B48 7C 08 03 A6 */ mtlr r0
/* 80116D0C 00112B4C 38 21 00 10 */ addi r1, r1, 0x10
/* 80116D10 00112B50 4E 80 00 20 */ blr
/* 80116D14 00112B54 00 00 00 00 */ .4byte 0x00000000
/* 80116D18 00112B58 00 00 00 00 */ .4byte 0x00000000
/* 80116D1C 00112B5C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global LoadHeader__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamQ54nw4r3snd6detail10StrmPlayer15StartOffsetTypei
LoadHeader__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamQ54nw4r3snd6detail10StrmPlayer15StartOffsetTypei:
2022-10-16 16:05:58 +00:00
/* 80116D20 00112B60 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80116D24 00112B64 7C 08 02 A6 */ mflr r0
/* 80116D28 00112B68 90 01 00 74 */ stw r0, 0x74(r1)
/* 80116D2C 00112B6C 39 61 00 70 */ addi r11, r1, 0x70
/* 80116D30 00112B70 4B EF 06 0D */ bl lbl_8000733C
2022-10-16 16:31:36 +00:00
/* 80116D34 00112B74 3C E0 80 54 */ lis r7, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@ha
2022-10-16 16:05:58 +00:00
/* 80116D38 00112B78 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 80116D3C 00112B7C 38 E7 2F A0 */ addi r7, r7, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@l
2022-10-16 16:05:58 +00:00
/* 80116D40 00112B80 90 E1 00 08 */ stw r7, 0x8(r1)
/* 80116D44 00112B84 7C 9B 23 78 */ mr r27, r4
/* 80116D48 00112B88 7C BE 2B 78 */ mr r30, r5
/* 80116D4C 00112B8C 7C DF 33 78 */ mr r31, r6
/* 80116D50 00112B90 7C E3 3B 78 */ mr r3, r7
/* 80116D54 00112B94 3B 81 00 08 */ addi r28, r1, 0x8
2022-10-16 16:31:36 +00:00
/* 80116D58 00112B98 4B F0 BE 49 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 80116D5C 00112B9C 93 61 00 0C */ stw r27, 0xc(r1)
/* 80116D60 00112BA0 38 61 00 10 */ addi r3, r1, 0x10
2022-10-16 16:31:36 +00:00
/* 80116D64 00112BA4 4B F0 4A 9D */ bl OSCreateAlarm
/* 80116D68 00112BA8 3C 80 80 54 */ lis r4, sLoadBuffer__Q44nw4r3snd6detail10StrmPlayer@ha
2022-10-16 16:05:58 +00:00
/* 80116D6C 00112BAC 38 61 00 0C */ addi r3, r1, 0xc
2022-10-16 16:31:36 +00:00
/* 80116D70 00112BB0 38 84 EF A0 */ addi r4, r4, sLoadBuffer__Q44nw4r3snd6detail10StrmPlayer@l
2022-10-16 16:05:58 +00:00
/* 80116D74 00112BB4 38 A0 40 00 */ li r5, 0x4000
2022-10-16 16:31:36 +00:00
/* 80116D78 00112BB8 4B FF EC 79 */ bl LoadFileHeader__Q44nw4r3snd6detail14StrmFileLoaderFPvUl
2022-10-16 16:05:58 +00:00
/* 80116D7C 00112BBC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116D80 00112BC0 40 82 00 1C */ bne lbl_80116D9C
/* 80116D84 00112BC4 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80116D88 00112BC8 41 82 00 0C */ beq lbl_80116D94
/* 80116D8C 00112BCC 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116D90 00112BD0 4B F0 BE F1 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116D94
lbl_80116D94:
/* 80116D94 00112BD4 38 60 00 00 */ li r3, 0x0
/* 80116D98 00112BD8 48 00 02 70 */ b lbl_80117008
.global lbl_80116D9C
lbl_80116D9C:
/* 80116D9C 00112BDC 38 61 00 0C */ addi r3, r1, 0xc
/* 80116DA0 00112BE0 38 9D 00 C0 */ addi r4, r29, 0xc0
2022-10-16 16:31:36 +00:00
/* 80116DA4 00112BE4 4B FF EE 6D */ bl ReadStrmInfo__Q44nw4r3snd6detail14StrmFileLoaderCFPQ54nw4r3snd6detail14StrmFileReader8StrmInfo
2022-10-16 16:05:58 +00:00
/* 80116DA8 00112BE8 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116DAC 00112BEC 40 82 00 1C */ bne lbl_80116DC8
/* 80116DB0 00112BF0 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80116DB4 00112BF4 41 82 00 0C */ beq lbl_80116DC0
/* 80116DB8 00112BF8 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116DBC 00112BFC 4B F0 BE C5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116DC0
lbl_80116DC0:
/* 80116DC0 00112C00 38 60 00 00 */ li r3, 0x0
/* 80116DC4 00112C04 48 00 02 44 */ b lbl_80117008
.global lbl_80116DC8
lbl_80116DC8:
/* 80116DC8 00112C08 80 1D 08 10 */ lwz r0, 0x810(r29)
/* 80116DCC 00112C0C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116DD0 00112C10 40 82 00 1C */ bne lbl_80116DEC
/* 80116DD4 00112C14 38 61 00 0C */ addi r3, r1, 0xc
2022-10-16 16:31:36 +00:00
/* 80116DD8 00112C18 4B FF ED E9 */ bl GetChannelCount__Q44nw4r3snd6detail14StrmFileLoaderCFv
2022-10-16 16:05:58 +00:00
/* 80116DDC 00112C1C 2C 03 00 10 */ cmpwi r3, 0x10
/* 80116DE0 00112C20 40 81 00 08 */ ble lbl_80116DE8
/* 80116DE4 00112C24 38 60 00 10 */ li r3, 0x10
.global lbl_80116DE8
lbl_80116DE8:
/* 80116DE8 00112C28 90 7D 08 10 */ stw r3, 0x810(r29)
.global lbl_80116DEC
lbl_80116DEC:
/* 80116DEC 00112C2C 3B 60 00 00 */ li r27, 0x0
/* 80116DF0 00112C30 3B 80 00 00 */ li r28, 0x0
/* 80116DF4 00112C34 48 00 00 40 */ b lbl_80116E34
.global lbl_80116DF8
lbl_80116DF8:
/* 80116DF8 00112C38 7C 9D E2 14 */ add r4, r29, r28
/* 80116DFC 00112C3C 7F 65 DB 78 */ mr r5, r27
/* 80116E00 00112C40 38 61 00 0C */ addi r3, r1, 0xc
/* 80116E04 00112C44 38 84 0B 60 */ addi r4, r4, 0xb60
2022-10-16 16:31:36 +00:00
/* 80116E08 00112C48 4B FF EE 49 */ bl ReadStrmTrackInfo__Q44nw4r3snd6detail14StrmFileLoaderCFPQ54nw4r3snd6detail14StrmFileReader13StrmTrackInfoi
2022-10-16 16:05:58 +00:00
/* 80116E0C 00112C4C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116E10 00112C50 40 82 00 1C */ bne lbl_80116E2C
/* 80116E14 00112C54 34 01 00 08 */ addic. r0, r1, 0x8
/* 80116E18 00112C58 41 82 00 0C */ beq lbl_80116E24
/* 80116E1C 00112C5C 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116E20 00112C60 4B F0 BE 61 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116E24
lbl_80116E24:
/* 80116E24 00112C64 38 60 00 00 */ li r3, 0x0
/* 80116E28 00112C68 48 00 01 E0 */ b lbl_80117008
.global lbl_80116E2C
lbl_80116E2C:
/* 80116E2C 00112C6C 3B 7B 00 01 */ addi r27, r27, 0x1
/* 80116E30 00112C70 3B 9C 00 38 */ addi r28, r28, 0x38
.global lbl_80116E34
lbl_80116E34:
/* 80116E34 00112C74 80 1D 08 0C */ lwz r0, 0x80c(r29)
/* 80116E38 00112C78 7C 1B 00 00 */ cmpw r27, r0
/* 80116E3C 00112C7C 41 80 FF BC */ blt lbl_80116DF8
/* 80116E40 00112C80 80 7D 00 C0 */ lwz r3, 0xc0(r29)
/* 80116E44 00112C84 38 03 FF FD */ addi r0, r3, -0x3
/* 80116E48 00112C88 7C 00 00 34 */ cntlzw r0, r0
/* 80116E4C 00112C8C 54 00 D9 7F */ srwi. r0, r0, 5
/* 80116E50 00112C90 41 82 01 18 */ beq lbl_80116F68
/* 80116E54 00112C94 3B 60 00 00 */ li r27, 0x0
/* 80116E58 00112C98 3B 80 00 00 */ li r28, 0x0
/* 80116E5C 00112C9C 48 00 00 44 */ b lbl_80116EA0
.global lbl_80116E60
lbl_80116E60:
/* 80116E60 00112CA0 7C BD E2 14 */ add r5, r29, r28
/* 80116E64 00112CA4 7F 66 DB 78 */ mr r6, r27
/* 80116E68 00112CA8 38 85 08 1C */ addi r4, r5, 0x81c
/* 80116E6C 00112CAC 38 61 00 0C */ addi r3, r1, 0xc
/* 80116E70 00112CB0 38 A5 08 44 */ addi r5, r5, 0x844
2022-10-16 16:31:36 +00:00
/* 80116E74 00112CB4 4B FF EE 1D */ bl ReadAdpcmInfo__Q44nw4r3snd6detail14StrmFileLoaderCFPQ34nw4r3snd10AdpcmParamPQ44nw4r3snd6detail14AdpcmLoopParami
2022-10-16 16:05:58 +00:00
/* 80116E78 00112CB8 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116E7C 00112CBC 40 82 00 1C */ bne lbl_80116E98
/* 80116E80 00112CC0 34 01 00 08 */ addic. r0, r1, 0x8
/* 80116E84 00112CC4 41 82 00 0C */ beq lbl_80116E90
/* 80116E88 00112CC8 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116E8C 00112CCC 4B F0 BD F5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116E90
lbl_80116E90:
/* 80116E90 00112CD0 38 60 00 00 */ li r3, 0x0
/* 80116E94 00112CD4 48 00 01 74 */ b lbl_80117008
.global lbl_80116E98
lbl_80116E98:
/* 80116E98 00112CD8 3B 7B 00 01 */ addi r27, r27, 0x1
/* 80116E9C 00112CDC 3B 9C 00 34 */ addi r28, r28, 0x34
.global lbl_80116EA0
lbl_80116EA0:
/* 80116EA0 00112CE0 80 1D 08 10 */ lwz r0, 0x810(r29)
/* 80116EA4 00112CE4 7C 1B 00 00 */ cmpw r27, r0
/* 80116EA8 00112CE8 41 80 FF B8 */ blt lbl_80116E60
/* 80116EAC 00112CEC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80116EB0 00112CF0 41 82 00 B8 */ beq lbl_80116F68
/* 80116EB4 00112CF4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80116EB8 00112CF8 40 82 00 08 */ bne lbl_80116EC0
/* 80116EBC 00112CFC 48 00 00 2C */ b lbl_80116EE8
.global lbl_80116EC0
lbl_80116EC0:
/* 80116EC0 00112D00 2C 1E 00 01 */ cmpwi r30, 0x1
/* 80116EC4 00112D04 40 82 00 24 */ bne lbl_80116EE8
/* 80116EC8 00112D08 80 1D 00 CC */ lwz r0, 0xcc(r29)
/* 80116ECC 00112D0C 3C 60 10 62 */ lis r3, 0x1062
/* 80116ED0 00112D10 38 63 4D D3 */ addi r3, r3, 0x4dd3
/* 80116ED4 00112D14 7C 1F 01 D6 */ mullw r0, r31, r0
/* 80116ED8 00112D18 7C 03 00 96 */ mulhw r0, r3, r0
/* 80116EDC 00112D1C 7C 00 36 70 */ srawi r0, r0, 6
/* 80116EE0 00112D20 54 03 0F FE */ srwi r3, r0, 31
/* 80116EE4 00112D24 7F E0 1A 14 */ add r31, r0, r3
.global lbl_80116EE8
lbl_80116EE8:
/* 80116EE8 00112D28 80 1D 00 E8 */ lwz r0, 0xe8(r29)
/* 80116EEC 00112D2C 38 61 00 0C */ addi r3, r1, 0xc
/* 80116EF0 00112D30 80 FD 00 C8 */ lwz r7, 0xc8(r29)
/* 80116EF4 00112D34 38 81 00 38 */ addi r4, r1, 0x38
/* 80116EF8 00112D38 7C DF 03 D6 */ divw r6, r31, r0
/* 80116EFC 00112D3C 38 A1 00 18 */ addi r5, r1, 0x18
2022-10-16 16:31:36 +00:00
/* 80116F00 00112D40 4B FF EE E1 */ bl ReadAdpcBlockData__Q44nw4r3snd6detail14StrmFileLoaderFPUsPUsii
2022-10-16 16:05:58 +00:00
/* 80116F04 00112D44 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116F08 00112D48 40 82 00 1C */ bne lbl_80116F24
/* 80116F0C 00112D4C 34 01 00 08 */ addic. r0, r1, 0x8
/* 80116F10 00112D50 41 82 00 0C */ beq lbl_80116F1C
/* 80116F14 00112D54 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116F18 00112D58 4B F0 BD 69 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116F1C
lbl_80116F1C:
/* 80116F1C 00112D5C 38 60 00 00 */ li r3, 0x0
/* 80116F20 00112D60 48 00 00 E8 */ b lbl_80117008
.global lbl_80116F24
lbl_80116F24:
/* 80116F24 00112D64 38 E1 00 38 */ addi r7, r1, 0x38
/* 80116F28 00112D68 38 A1 00 18 */ addi r5, r1, 0x18
/* 80116F2C 00112D6C 39 00 00 00 */ li r8, 0x0
/* 80116F30 00112D70 38 60 00 00 */ li r3, 0x0
/* 80116F34 00112D74 38 80 00 00 */ li r4, 0x0
/* 80116F38 00112D78 48 00 00 24 */ b lbl_80116F5C
.global lbl_80116F3C
lbl_80116F3C:
/* 80116F3C 00112D7C 7C DD 1A 14 */ add r6, r29, r3
/* 80116F40 00112D80 7C 07 22 2E */ lhzx r0, r7, r4
/* 80116F44 00112D84 B0 06 08 40 */ sth r0, 0x840(r6)
/* 80116F48 00112D88 39 08 00 01 */ addi r8, r8, 0x1
/* 80116F4C 00112D8C 38 63 00 34 */ addi r3, r3, 0x34
/* 80116F50 00112D90 7C 05 22 2E */ lhzx r0, r5, r4
/* 80116F54 00112D94 38 84 00 02 */ addi r4, r4, 0x2
/* 80116F58 00112D98 B0 06 08 42 */ sth r0, 0x842(r6)
.global lbl_80116F5C
lbl_80116F5C:
/* 80116F5C 00112D9C 80 1D 00 C8 */ lwz r0, 0xc8(r29)
/* 80116F60 00112DA0 7C 08 00 00 */ cmpw r8, r0
/* 80116F64 00112DA4 41 80 FF D8 */ blt lbl_80116F3C
.global lbl_80116F68
lbl_80116F68:
/* 80116F68 00112DA8 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 80116F6C 00112DAC 48 00 03 25 */ bl SetupPlayer__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80116F70 00112DB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80116F74 00112DB4 40 82 00 1C */ bne lbl_80116F90
/* 80116F78 00112DB8 34 01 00 08 */ addic. r0, r1, 0x8
/* 80116F7C 00112DBC 41 82 00 0C */ beq lbl_80116F88
/* 80116F80 00112DC0 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80116F84 00112DC4 4B F0 BC FD */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80116F88
lbl_80116F88:
/* 80116F88 00112DC8 38 60 00 00 */ li r3, 0x0
/* 80116F8C 00112DCC 48 00 00 7C */ b lbl_80117008
.global lbl_80116F90
lbl_80116F90:
/* 80116F90 00112DD0 38 00 00 00 */ li r0, 0x0
/* 80116F94 00112DD4 90 1D 01 14 */ stw r0, 0x114(r29)
/* 80116F98 00112DD8 3B 60 00 00 */ li r27, 0x0
/* 80116F9C 00112DDC 48 00 00 28 */ b lbl_80116FC4
.global lbl_80116FA0
lbl_80116FA0:
/* 80116FA0 00112DE0 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 80116FA4 00112DE4 48 00 12 0D */ bl UpdateLoadingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80116FA8 00112DE8 88 1D 01 0E */ lbz r0, 0x10e(r29)
/* 80116FAC 00112DEC 80 7D 01 14 */ lwz r3, 0x114(r29)
/* 80116FB0 00112DF0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116FB4 00112DF4 38 03 00 01 */ addi r0, r3, 0x1
/* 80116FB8 00112DF8 90 1D 01 14 */ stw r0, 0x114(r29)
/* 80116FBC 00112DFC 40 82 00 14 */ bne lbl_80116FD0
/* 80116FC0 00112E00 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80116FC4
lbl_80116FC4:
/* 80116FC4 00112E04 80 1D 01 24 */ lwz r0, 0x124(r29)
/* 80116FC8 00112E08 7C 1B 00 00 */ cmpw r27, r0
/* 80116FCC 00112E0C 41 80 FF D4 */ blt lbl_80116FA0
.global lbl_80116FD0
lbl_80116FD0:
/* 80116FD0 00112E10 80 9D 00 E0 */ lwz r4, 0xe0(r29)
/* 80116FD4 00112E14 28 04 00 02 */ cmplwi r4, 0x2
/* 80116FD8 00112E18 41 81 00 1C */ bgt lbl_80116FF4
/* 80116FDC 00112E1C 88 1D 00 C4 */ lbz r0, 0xc4(r29)
/* 80116FE0 00112E20 2C 00 00 00 */ cmpwi r0, 0x0
/* 80116FE4 00112E24 40 82 00 10 */ bne lbl_80116FF4
/* 80116FE8 00112E28 7F A3 EB 78 */ mr r3, r29
/* 80116FEC 00112E2C 38 84 FF FF */ addi r4, r4, -0x1
2022-10-16 16:31:36 +00:00
/* 80116FF0 00112E30 48 00 10 D1 */ bl SetLoopEndToZeroBuffer__Q44nw4r3snd6detail10StrmPlayerFi
2022-10-16 16:05:58 +00:00
.global lbl_80116FF4
lbl_80116FF4:
/* 80116FF4 00112E34 34 01 00 08 */ addic. r0, r1, 0x8
/* 80116FF8 00112E38 41 82 00 0C */ beq lbl_80117004
/* 80116FFC 00112E3C 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80117000 00112E40 4B F0 BC 81 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80117004
lbl_80117004:
/* 80117004 00112E44 38 60 00 01 */ li r3, 0x1
.global lbl_80117008
lbl_80117008:
/* 80117008 00112E48 39 61 00 70 */ addi r11, r1, 0x70
/* 8011700C 00112E4C 4B EF 03 7D */ bl lbl_80007388
/* 80117010 00112E50 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80117014 00112E54 7C 08 03 A6 */ mtlr r0
/* 80117018 00112E58 38 21 00 70 */ addi r1, r1, 0x70
/* 8011701C 00112E5C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global LoadStreamData__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamiUlUlib
LoadStreamData__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamiUlUlib:
2022-10-16 16:05:58 +00:00
/* 80117020 00112E60 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80117024 00112E64 7C 08 02 A6 */ mflr r0
/* 80117028 00112E68 90 01 00 74 */ stw r0, 0x74(r1)
/* 8011702C 00112E6C 39 61 00 70 */ addi r11, r1, 0x70
/* 80117030 00112E70 4B EF 02 E1 */ bl lbl_80007310
/* 80117034 00112E74 2C 04 00 00 */ cmpwi r4, 0x0
/* 80117038 00112E78 7C 73 1B 78 */ mr r19, r3
/* 8011703C 00112E7C 7C 94 23 78 */ mr r20, r4
/* 80117040 00112E80 7C B0 2B 78 */ mr r16, r5
/* 80117044 00112E84 7C F5 3B 78 */ mr r21, r7
/* 80117048 00112E88 7D 16 43 78 */ mr r22, r8
/* 8011704C 00112E8C 7D 37 4B 78 */ mr r23, r9
2022-10-16 16:31:36 +00:00
/* 80117050 00112E90 3A 2D EC 58 */ addi r17, r13, typeInfo__Q34nw4r2ut13DvdFileStream@sda21
2022-10-16 16:05:58 +00:00
/* 80117054 00112E94 41 82 00 4C */ beq lbl_801170A0
/* 80117058 00112E98 81 94 00 00 */ lwz r12, 0x0(r20)
/* 8011705C 00112E9C 7E 83 A3 78 */ mr r3, r20
/* 80117060 00112EA0 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 80117064 00112EA4 7D 89 03 A6 */ mtctr r12
/* 80117068 00112EA8 4E 80 04 21 */ bctrl
/* 8011706C 00112EAC 48 00 00 18 */ b lbl_80117084
.global lbl_80117070
lbl_80117070:
/* 80117070 00112EB0 7C 03 88 40 */ cmplw r3, r17
/* 80117074 00112EB4 40 82 00 0C */ bne lbl_80117080
/* 80117078 00112EB8 38 00 00 01 */ li r0, 0x1
/* 8011707C 00112EBC 48 00 00 14 */ b lbl_80117090
.global lbl_80117080
lbl_80117080:
/* 80117080 00112EC0 80 63 00 00 */ lwz r3, 0x0(r3)
.global lbl_80117084
lbl_80117084:
/* 80117084 00112EC4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80117088 00112EC8 40 82 FF E8 */ bne lbl_80117070
/* 8011708C 00112ECC 38 00 00 00 */ li r0, 0x0
.global lbl_80117090
lbl_80117090:
/* 80117090 00112ED0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117094 00112ED4 41 82 00 0C */ beq lbl_801170A0
/* 80117098 00112ED8 7E 83 A3 78 */ mr r3, r20
/* 8011709C 00112EDC 48 00 00 08 */ b lbl_801170A4
.global lbl_801170A0
lbl_801170A0:
/* 801170A0 00112EE0 38 60 00 00 */ li r3, 0x0
.global lbl_801170A4
lbl_801170A4:
/* 801170A4 00112EE4 2C 03 00 00 */ cmpwi r3, 0x0
/* 801170A8 00112EE8 41 82 00 0C */ beq lbl_801170B4
/* 801170AC 00112EEC 38 00 00 01 */ li r0, 0x1
/* 801170B0 00112EF0 90 03 00 68 */ stw r0, 0x68(r3)
.global lbl_801170B4
lbl_801170B4:
2022-10-16 16:31:36 +00:00
/* 801170B4 00112EF4 3C 60 80 54 */ lis r3, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@ha
/* 801170B8 00112EF8 38 63 2F A0 */ addi r3, r3, sLoadBufferMutex__Q44nw4r3snd6detail10StrmPlayer@l
2022-10-16 16:05:58 +00:00
/* 801170BC 00112EFC 90 61 00 08 */ stw r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 801170C0 00112F00 4B F0 BA E1 */ bl OSLockMutex
/* 801170C4 00112F04 3F A0 80 54 */ lis r29, sLoadBuffer__Q44nw4r3snd6detail10StrmPlayer@ha
2022-10-16 16:05:58 +00:00
/* 801170C8 00112F08 38 80 40 00 */ li r4, 0x4000
2022-10-16 16:31:36 +00:00
/* 801170CC 00112F0C 38 7D EF A0 */ addi r3, r29, sLoadBuffer__Q44nw4r3snd6detail10StrmPlayer@l
/* 801170D0 00112F10 4B F0 58 81 */ bl DCInvalidateRange
2022-10-16 16:05:58 +00:00
/* 801170D4 00112F14 A0 13 00 D0 */ lhz r0, 0xd0(r19)
/* 801170D8 00112F18 3B DD EF A0 */ addi r30, r29, -0x1060
/* 801170DC 00112F1C 3B E1 00 10 */ addi r31, r1, 0x10
/* 801170E0 00112F20 3B 60 00 00 */ li r27, 0x0
/* 801170E4 00112F24 7F 90 02 14 */ add r28, r16, r0
/* 801170E8 00112F28 48 00 00 EC */ b lbl_801171D4
.global lbl_801170EC
lbl_801170EC:
/* 801170EC 00112F2C 80 13 08 10 */ lwz r0, 0x810(r19)
/* 801170F0 00112F30 38 7B 00 02 */ addi r3, r27, 0x2
/* 801170F4 00112F34 3B 40 00 02 */ li r26, 0x2
/* 801170F8 00112F38 7C 03 00 00 */ cmpw r3, r0
/* 801170FC 00112F3C 40 81 00 08 */ ble lbl_80117104
/* 80117100 00112F40 7F 5B 00 50 */ subf r26, r27, r0
.global lbl_80117104
lbl_80117104:
/* 80117104 00112F44 81 94 00 00 */ lwz r12, 0x0(r20)
/* 80117108 00112F48 7F 35 D1 D6 */ mullw r25, r21, r26
/* 8011710C 00112F4C 7E 83 A3 78 */ mr r3, r20
/* 80117110 00112F50 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 80117114 00112F54 7F 84 E3 78 */ mr r4, r28
/* 80117118 00112F58 38 A0 00 00 */ li r5, 0x0
/* 8011711C 00112F5C 7D 89 03 A6 */ mtctr r12
/* 80117120 00112F60 4E 80 04 21 */ bctrl
/* 80117124 00112F64 81 94 00 00 */ lwz r12, 0x0(r20)
/* 80117128 00112F68 7E 83 A3 78 */ mr r3, r20
/* 8011712C 00112F6C 7F 25 CB 78 */ mr r5, r25
/* 80117130 00112F70 38 9D EF A0 */ addi r4, r29, -0x1060
/* 80117134 00112F74 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80117138 00112F78 7D 89 03 A6 */ mtctr r12
/* 8011713C 00112F7C 4E 80 04 21 */ bctrl
/* 80117140 00112F80 7C 03 C8 40 */ cmplw r3, r25
/* 80117144 00112F84 41 82 00 1C */ beq lbl_80117160
/* 80117148 00112F88 34 01 00 08 */ addic. r0, r1, 0x8
/* 8011714C 00112F8C 41 82 00 0C */ beq lbl_80117158
/* 80117150 00112F90 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80117154 00112F94 4B F0 BB 2D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80117158
lbl_80117158:
/* 80117158 00112F98 38 60 00 00 */ li r3, 0x0
/* 8011715C 00112F9C 48 00 01 1C */ b lbl_80117278
.global lbl_80117160
lbl_80117160:
/* 80117160 00112FA0 1E 5B 00 34 */ mulli r18, r27, 0x34
/* 80117164 00112FA4 57 71 08 3C */ slwi r17, r27, 1
/* 80117168 00112FA8 3B 00 00 00 */ li r24, 0x0
/* 8011716C 00112FAC 48 00 00 5C */ b lbl_801171C8
.global lbl_80117170
lbl_80117170:
/* 80117170 00112FB0 2C 17 00 00 */ cmpwi r23, 0x0
/* 80117174 00112FB4 41 82 00 10 */ beq lbl_80117184
/* 80117178 00112FB8 7C 15 C1 D6 */ mullw r0, r21, r24
/* 8011717C 00112FBC 7C 1E 00 AE */ lbzx r0, r30, r0
/* 80117180 00112FC0 7C 1F 8B 2E */ sthx r0, r31, r17
.global lbl_80117184
lbl_80117184:
/* 80117184 00112FC4 80 13 01 1C */ lwz r0, 0x11c(r19)
/* 80117188 00112FC8 7C 95 C1 D6 */ mullw r4, r21, r24
/* 8011718C 00112FCC 7C 73 92 14 */ add r3, r19, r18
/* 80117190 00112FD0 80 63 08 18 */ lwz r3, 0x818(r3)
/* 80117194 00112FD4 7E A5 AB 78 */ mr r5, r21
/* 80117198 00112FD8 7C 00 B1 D6 */ mullw r0, r0, r22
/* 8011719C 00112FDC 7C 84 F2 14 */ add r4, r4, r30
/* 801171A0 00112FE0 7E 00 1A 14 */ add r16, r0, r3
/* 801171A4 00112FE4 7E 03 83 78 */ mr r3, r16
2022-10-16 16:31:36 +00:00
/* 801171A8 00112FE8 4B EE CE 59 */ bl memcpy
2022-10-16 16:05:58 +00:00
/* 801171AC 00112FEC 7E 03 83 78 */ mr r3, r16
/* 801171B0 00112FF0 7E A4 AB 78 */ mr r4, r21
2022-10-16 16:31:36 +00:00
/* 801171B4 00112FF4 4B F0 57 CD */ bl DCFlushRange
2022-10-16 16:05:58 +00:00
/* 801171B8 00112FF8 3B 7B 00 01 */ addi r27, r27, 0x1
/* 801171BC 00112FFC 3A 52 00 34 */ addi r18, r18, 0x34
/* 801171C0 00113000 3A 31 00 02 */ addi r17, r17, 0x2
/* 801171C4 00113004 3B 18 00 01 */ addi r24, r24, 0x1
.global lbl_801171C8
lbl_801171C8:
/* 801171C8 00113008 7C 18 D0 00 */ cmpw r24, r26
/* 801171CC 0011300C 41 80 FF A4 */ blt lbl_80117170
/* 801171D0 00113010 7F 9C CA 14 */ add r28, r28, r25
.global lbl_801171D4
lbl_801171D4:
/* 801171D4 00113014 80 F3 08 10 */ lwz r7, 0x810(r19)
/* 801171D8 00113018 7C 1B 38 00 */ cmpw r27, r7
/* 801171DC 0011301C 41 80 FF 10 */ blt lbl_801170EC
/* 801171E0 00113020 2C 17 00 00 */ cmpwi r23, 0x0
/* 801171E4 00113024 41 82 00 5C */ beq lbl_80117240
/* 801171E8 00113028 80 73 00 C0 */ lwz r3, 0xc0(r19)
/* 801171EC 0011302C 38 03 FF FD */ addi r0, r3, -0x3
/* 801171F0 00113030 7C 00 00 34 */ cntlzw r0, r0
/* 801171F4 00113034 54 00 D9 7F */ srwi. r0, r0, 5
/* 801171F8 00113038 41 82 00 48 */ beq lbl_80117240
/* 801171FC 0011303C 38 C1 00 10 */ addi r6, r1, 0x10
/* 80117200 00113040 39 00 00 00 */ li r8, 0x0
/* 80117204 00113044 38 60 00 00 */ li r3, 0x0
/* 80117208 00113048 38 80 00 00 */ li r4, 0x0
/* 8011720C 0011304C 48 00 00 1C */ b lbl_80117228
.global lbl_80117210
lbl_80117210:
/* 80117210 00113050 7C B3 1A 14 */ add r5, r19, r3
/* 80117214 00113054 7C 06 22 2E */ lhzx r0, r6, r4
/* 80117218 00113058 B0 05 08 4A */ sth r0, 0x84a(r5)
/* 8011721C 0011305C 39 08 00 01 */ addi r8, r8, 0x1
/* 80117220 00113060 38 63 00 34 */ addi r3, r3, 0x34
/* 80117224 00113064 38 84 00 02 */ addi r4, r4, 0x2
.global lbl_80117228
lbl_80117228:
/* 80117228 00113068 7C 08 38 00 */ cmpw r8, r7
/* 8011722C 0011306C 40 80 00 0C */ bge lbl_80117238
/* 80117230 00113070 2C 08 00 10 */ cmpwi r8, 0x10
/* 80117234 00113074 41 80 FF DC */ blt lbl_80117210
.global lbl_80117238
lbl_80117238:
/* 80117238 00113078 38 00 00 01 */ li r0, 0x1
/* 8011723C 0011307C 98 13 01 0C */ stb r0, 0x10c(r19)
.global lbl_80117240
lbl_80117240:
/* 80117240 00113080 88 13 01 03 */ lbz r0, 0x103(r19)
/* 80117244 00113084 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117248 00113088 40 82 00 1C */ bne lbl_80117264
/* 8011724C 0011308C 80 13 01 14 */ lwz r0, 0x114(r19)
/* 80117250 00113090 34 00 FF FF */ addic. r0, r0, -0x1
/* 80117254 00113094 90 13 01 14 */ stw r0, 0x114(r19)
/* 80117258 00113098 40 82 00 0C */ bne lbl_80117264
/* 8011725C 0011309C 38 00 00 01 */ li r0, 0x1
/* 80117260 001130A0 98 13 01 03 */ stb r0, 0x103(r19)
.global lbl_80117264
lbl_80117264:
/* 80117264 001130A4 34 01 00 08 */ addic. r0, r1, 0x8
/* 80117268 001130A8 41 82 00 0C */ beq lbl_80117274
/* 8011726C 001130AC 80 61 00 08 */ lwz r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 80117270 001130B0 4B F0 BA 11 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_80117274
lbl_80117274:
/* 80117274 001130B4 38 60 00 01 */ li r3, 0x1
.global lbl_80117278
lbl_80117278:
/* 80117278 001130B8 39 61 00 70 */ addi r11, r1, 0x70
/* 8011727C 001130BC 4B EF 00 E1 */ bl lbl_8000735C
/* 80117280 001130C0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80117284 001130C4 7C 08 03 A6 */ mtlr r0
/* 80117288 001130C8 38 21 00 70 */ addi r1, r1, 0x70
/* 8011728C 001130CC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global SetupPlayer__Q44nw4r3snd6detail10StrmPlayerFv
SetupPlayer__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80117290 001130D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80117294 001130D4 7C 08 02 A6 */ mflr r0
/* 80117298 001130D8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011729C 001130DC 39 61 00 30 */ addi r11, r1, 0x30
/* 801172A0 001130E0 4B EF 00 99 */ bl lbl_80007338
/* 801172A4 001130E4 80 A3 08 04 */ lwz r5, 0x804(r3)
/* 801172A8 001130E8 38 00 00 00 */ li r0, 0x0
/* 801172AC 001130EC 7C 7F 1B 78 */ mr r31, r3
/* 801172B0 001130F0 38 81 00 10 */ addi r4, r1, 0x10
/* 801172B4 001130F4 83 65 00 08 */ lwz r27, 0x8(r5)
/* 801172B8 001130F8 38 A1 00 0C */ addi r5, r1, 0xc
/* 801172BC 001130FC 38 C1 00 08 */ addi r6, r1, 0x8
/* 801172C0 00113100 90 01 00 10 */ stw r0, 0x10(r1)
/* 801172C4 00113104 90 01 00 0C */ stw r0, 0xc(r1)
/* 801172C8 00113108 90 01 00 08 */ stw r0, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 801172CC 0011310C 48 00 11 D5 */ bl CalcStartOffset__Q44nw4r3snd6detail10StrmPlayerFPlPUlPl
2022-10-16 16:05:58 +00:00
/* 801172D0 00113110 2C 03 00 00 */ cmpwi r3, 0x0
/* 801172D4 00113114 40 82 00 0C */ bne lbl_801172E0
/* 801172D8 00113118 38 60 00 00 */ li r3, 0x0
/* 801172DC 0011311C 48 00 01 94 */ b lbl_80117470
.global lbl_801172E0
lbl_801172E0:
/* 801172E0 00113120 80 9F 00 D4 */ lwz r4, 0xd4(r31)
/* 801172E4 00113124 80 7F 00 E8 */ lwz r3, 0xe8(r31)
/* 801172E8 00113128 80 1F 00 E4 */ lwz r0, 0xe4(r31)
/* 801172EC 0011312C 7C 84 1B 96 */ divwu r4, r4, r3
/* 801172F0 00113130 80 7F 00 E0 */ lwz r3, 0xe0(r31)
/* 801172F4 00113134 2C 00 20 00 */ cmpwi r0, 0x2000
/* 801172F8 00113138 90 1F 01 1C */ stw r0, 0x11c(r31)
/* 801172FC 0011313C 38 63 FF FF */ addi r3, r3, -0x1
/* 80117300 00113140 90 7F 01 44 */ stw r3, 0x144(r31)
/* 80117304 00113144 90 9F 01 40 */ stw r4, 0x140(r31)
/* 80117308 00113148 40 81 00 0C */ ble lbl_80117314
/* 8011730C 0011314C 38 60 00 00 */ li r3, 0x0
/* 80117310 00113150 48 00 01 60 */ b lbl_80117470
.global lbl_80117314
lbl_80117314:
/* 80117314 00113154 7C 1B 03 96 */ divwu r0, r27, r0
/* 80117318 00113158 90 1F 01 20 */ stw r0, 0x120(r31)
/* 8011731C 0011315C 2C 00 00 04 */ cmpwi r0, 0x4
/* 80117320 00113160 40 80 00 0C */ bge lbl_8011732C
/* 80117324 00113164 38 60 00 00 */ li r3, 0x0
/* 80117328 00113168 48 00 01 48 */ b lbl_80117470
.global lbl_8011732C
lbl_8011732C:
/* 8011732C 0011316C 2C 00 00 20 */ cmpwi r0, 0x20
/* 80117330 00113170 40 81 00 0C */ ble lbl_8011733C
/* 80117334 00113174 38 00 00 20 */ li r0, 0x20
/* 80117338 00113178 90 1F 01 20 */ stw r0, 0x120(r31)
.global lbl_8011733C
lbl_8011733C:
/* 8011733C 0011317C 80 9F 01 20 */ lwz r4, 0x120(r31)
/* 80117340 00113180 38 60 00 00 */ li r3, 0x0
/* 80117344 00113184 88 1F 01 0A */ lbz r0, 0x10a(r31)
/* 80117348 00113188 38 A4 FF FF */ addi r5, r4, -0x1
/* 8011734C 0011318C 90 BF 01 24 */ stw r5, 0x124(r31)
/* 80117350 00113190 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117354 00113194 90 BF 01 18 */ stw r5, 0x118(r31)
/* 80117358 00113198 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8011735C 0011319C 90 1F 01 3C */ stw r0, 0x13c(r31)
/* 80117360 001131A0 80 81 00 10 */ lwz r4, 0x10(r1)
/* 80117364 001131A4 90 9F 01 30 */ stw r4, 0x130(r31)
/* 80117368 001131A8 90 7F 01 2C */ stw r3, 0x12c(r31)
/* 8011736C 001131AC 90 7F 01 38 */ stw r3, 0x138(r31)
/* 80117370 001131B0 41 82 00 10 */ beq lbl_80117380
/* 80117374 001131B4 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 80117378 001131B8 90 1F 01 28 */ stw r0, 0x128(r31)
/* 8011737C 001131BC 48 00 00 3C */ b lbl_801173B8
.global lbl_80117380
lbl_80117380:
/* 80117380 001131C0 80 DF 01 44 */ lwz r6, 0x144(r31)
/* 80117384 001131C4 38 E5 00 01 */ addi r7, r5, 0x1
/* 80117388 001131C8 80 1F 01 40 */ lwz r0, 0x140(r31)
/* 8011738C 001131CC 7C 64 30 50 */ subf r3, r4, r6
/* 80117390 001131D0 38 83 00 01 */ addi r4, r3, 0x1
/* 80117394 001131D4 7C 60 30 50 */ subf r3, r0, r6
/* 80117398 001131D8 7C 84 38 50 */ subf r4, r4, r7
/* 8011739C 001131DC 38 63 00 01 */ addi r3, r3, 0x1
/* 801173A0 001131E0 7C 04 1B D6 */ divw r0, r4, r3
/* 801173A4 001131E4 7C 00 19 D6 */ mullw r0, r0, r3
/* 801173A8 001131E8 7C 00 20 51 */ subf. r0, r0, r4
/* 801173AC 001131EC 40 82 00 08 */ bne lbl_801173B4
/* 801173B0 001131F0 7C E5 3B 78 */ mr r5, r7
.global lbl_801173B4
lbl_801173B4:
/* 801173B4 001131F4 90 BF 01 28 */ stw r5, 0x128(r31)
.global lbl_801173B8
lbl_801173B8:
/* 801173B8 001131F8 80 1F 01 28 */ lwz r0, 0x128(r31)
/* 801173BC 001131FC 90 1F 01 34 */ stw r0, 0x134(r31)
2022-10-16 16:31:36 +00:00
/* 801173C0 00113200 4B F0 A4 61 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801173C4 00113204 88 1F 01 0F */ lbz r0, 0x10f(r31)
/* 801173C8 00113208 7C 7E 1B 78 */ mr r30, r3
/* 801173CC 0011320C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801173D0 00113210 40 82 00 94 */ bne lbl_80117464
/* 801173D4 00113214 7F FC FB 78 */ mr r28, r31
/* 801173D8 00113218 3B 60 00 00 */ li r27, 0x0
/* 801173DC 0011321C 48 00 00 58 */ b lbl_80117434
.global lbl_801173E0
lbl_801173E0:
/* 801173E0 00113220 80 7F 08 04 */ lwz r3, 0x804(r31)
2022-10-16 16:31:36 +00:00
/* 801173E4 00113224 4B FF E0 CD */ bl Alloc__Q44nw4r3snd6detail14StrmBufferPoolFv
2022-10-16 16:05:58 +00:00
/* 801173E8 00113228 2C 03 00 00 */ cmpwi r3, 0x0
/* 801173EC 0011322C 40 82 00 3C */ bne lbl_80117428
/* 801173F0 00113230 7F FA FB 78 */ mr r26, r31
/* 801173F4 00113234 3B 80 00 00 */ li r28, 0x0
/* 801173F8 00113238 3B A0 00 00 */ li r29, 0x0
/* 801173FC 0011323C 48 00 00 1C */ b lbl_80117418
.global lbl_80117400
lbl_80117400:
/* 80117400 00113240 80 7F 08 04 */ lwz r3, 0x804(r31)
/* 80117404 00113244 80 9A 08 18 */ lwz r4, 0x818(r26)
2022-10-16 16:31:36 +00:00
/* 80117408 00113248 4B FF E1 99 */ bl Free__Q44nw4r3snd6detail14StrmBufferPoolFPv
2022-10-16 16:05:58 +00:00
/* 8011740C 0011324C 93 BA 08 18 */ stw r29, 0x818(r26)
/* 80117410 00113250 3B 5A 00 34 */ addi r26, r26, 0x34
/* 80117414 00113254 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80117418
lbl_80117418:
/* 80117418 00113258 7C 1C D8 00 */ cmpw r28, r27
/* 8011741C 0011325C 41 80 FF E4 */ blt lbl_80117400
/* 80117420 00113260 38 00 00 00 */ li r0, 0x0
/* 80117424 00113264 48 00 00 20 */ b lbl_80117444
.global lbl_80117428
lbl_80117428:
/* 80117428 00113268 90 7C 08 18 */ stw r3, 0x818(r28)
/* 8011742C 0011326C 3B 9C 00 34 */ addi r28, r28, 0x34
/* 80117430 00113270 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80117434
lbl_80117434:
/* 80117434 00113274 80 1F 08 10 */ lwz r0, 0x810(r31)
/* 80117438 00113278 7C 1B 00 00 */ cmpw r27, r0
/* 8011743C 0011327C 41 80 FF A4 */ blt lbl_801173E0
/* 80117440 00113280 38 00 00 01 */ li r0, 0x1
.global lbl_80117444
lbl_80117444:
/* 80117444 00113284 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117448 00113288 40 82 00 14 */ bne lbl_8011745C
/* 8011744C 0011328C 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117450 00113290 4B F0 A4 11 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80117454 00113294 38 60 00 00 */ li r3, 0x0
/* 80117458 00113298 48 00 00 18 */ b lbl_80117470
.global lbl_8011745C
lbl_8011745C:
/* 8011745C 0011329C 38 00 00 01 */ li r0, 0x1
/* 80117460 001132A0 98 1F 01 0F */ stb r0, 0x10f(r31)
.global lbl_80117464
lbl_80117464:
/* 80117464 001132A4 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117468 001132A8 4B F0 A3 F9 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 8011746C 001132AC 38 60 00 01 */ li r3, 0x1
.global lbl_80117470
lbl_80117470:
/* 80117470 001132B0 39 61 00 30 */ addi r11, r1, 0x30
/* 80117474 001132B4 4B EE FF 11 */ bl lbl_80007384
/* 80117478 001132B8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8011747C 001132BC 7C 08 03 A6 */ mtlr r0
/* 80117480 001132C0 38 21 00 30 */ addi r1, r1, 0x30
/* 80117484 001132C4 4E 80 00 20 */ blr
/* 80117488 001132C8 00 00 00 00 */ .4byte 0x00000000
/* 8011748C 001132CC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global AllocVoices__Q44nw4r3snd6detail10StrmPlayerFi
AllocVoices__Q44nw4r3snd6detail10StrmPlayerFi:
2022-10-16 16:05:58 +00:00
/* 80117490 001132D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80117494 001132D4 7C 08 02 A6 */ mflr r0
/* 80117498 001132D8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8011749C 001132DC 39 61 00 30 */ addi r11, r1, 0x30
/* 801174A0 001132E0 4B EE FE 91 */ bl lbl_80007330
/* 801174A4 001132E4 7C 78 1B 78 */ mr r24, r3
/* 801174A8 001132E8 7C 99 23 78 */ mr r25, r4
2022-10-16 16:31:36 +00:00
/* 801174AC 001132EC 4B F0 A3 75 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801174B0 001132F0 3B 78 0B 58 */ addi r27, r24, 0xb58
/* 801174B4 001132F4 7C 7F 1B 78 */ mr r31, r3
/* 801174B8 001132F8 7F 7C DB 78 */ mr r28, r27
/* 801174BC 001132FC 3B 40 00 00 */ li r26, 0x0
2022-10-16 16:31:36 +00:00
/* 801174C0 00113300 3F A0 80 12 */ lis r29, VoiceCallbackFunc__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail5VoiceQ54nw4r3snd6detail5Voice19VoiceCallbackStatusPv@ha
2022-10-16 16:05:58 +00:00
/* 801174C4 00113304 3B C0 00 01 */ li r30, 0x1
/* 801174C8 00113308 48 00 00 84 */ b lbl_8011754C
.global lbl_801174CC
lbl_801174CC:
/* 801174CC 0011330C 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 801174D0 00113310 2C 00 00 00 */ cmpwi r0, 0x0
/* 801174D4 00113314 41 82 00 70 */ beq lbl_80117544
2022-10-16 16:31:36 +00:00
/* 801174D8 00113318 48 00 50 09 */ bl GetInstance__Q44nw4r3snd6detail12VoiceManagerFv
2022-10-16 16:05:58 +00:00
/* 801174DC 0011331C 80 9C 00 0C */ lwz r4, 0xc(r28)
/* 801174E0 00113320 7F 25 CB 78 */ mr r5, r25
/* 801174E4 00113324 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 801174E8 00113328 38 FD 85 B0 */ addi r7, r29, VoiceCallbackFunc__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail5VoiceQ54nw4r3snd6detail5Voice19VoiceCallbackStatusPv@l
2022-10-16 16:05:58 +00:00
/* 801174EC 0011332C 38 C0 00 FF */ li r6, 0xff
2022-10-16 16:31:36 +00:00
/* 801174F0 00113330 48 00 52 81 */ bl AllocVoice__Q44nw4r3snd6detail12VoiceManagerFiiiPFPQ44nw4r3snd6detail5VoiceQ54nw4r3snd6detail5Voice19VoiceCallbackStatusPv_vPv
2022-10-16 16:05:58 +00:00
/* 801174F4 00113334 2C 03 00 00 */ cmpwi r3, 0x0
/* 801174F8 00113338 40 82 00 44 */ bne lbl_8011753C
/* 801174FC 0011333C 3B 80 00 00 */ li r28, 0x0
/* 80117500 00113340 3B C0 00 00 */ li r30, 0x0
/* 80117504 00113344 48 00 00 20 */ b lbl_80117524
.global lbl_80117508
lbl_80117508:
/* 80117508 00113348 80 7B 00 04 */ lwz r3, 0x4(r27)
/* 8011750C 0011334C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80117510 00113350 41 82 00 0C */ beq lbl_8011751C
2022-10-16 16:31:36 +00:00
/* 80117514 00113354 48 00 31 0D */ bl Free__Q44nw4r3snd6detail5VoiceFv
2022-10-16 16:05:58 +00:00
/* 80117518 00113358 93 DB 00 04 */ stw r30, 0x4(r27)
.global lbl_8011751C
lbl_8011751C:
/* 8011751C 0011335C 3B 7B 00 38 */ addi r27, r27, 0x38
/* 80117520 00113360 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80117524
lbl_80117524:
/* 80117524 00113364 7C 1C D0 00 */ cmpw r28, r26
/* 80117528 00113368 41 80 FF E0 */ blt lbl_80117508
/* 8011752C 0011336C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80117530 00113370 4B F0 A3 31 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80117534 00113374 38 60 00 00 */ li r3, 0x0
/* 80117538 00113378 48 00 00 2C */ b lbl_80117564
.global lbl_8011753C
lbl_8011753C:
/* 8011753C 0011337C 90 7C 00 04 */ stw r3, 0x4(r28)
/* 80117540 00113380 9B C3 00 A1 */ stb r30, 0xa1(r3)
.global lbl_80117544
lbl_80117544:
/* 80117544 00113384 3B 9C 00 38 */ addi r28, r28, 0x38
/* 80117548 00113388 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8011754C
lbl_8011754C:
/* 8011754C 0011338C 80 18 08 0C */ lwz r0, 0x80c(r24)
/* 80117550 00113390 7C 1A 00 00 */ cmpw r26, r0
/* 80117554 00113394 41 80 FF 78 */ blt lbl_801174CC
/* 80117558 00113398 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8011755C 0011339C 4B F0 A3 05 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80117560 001133A0 38 60 00 01 */ li r3, 0x1
.global lbl_80117564
lbl_80117564:
/* 80117564 001133A4 39 61 00 30 */ addi r11, r1, 0x30
/* 80117568 001133A8 4B EE FE 15 */ bl lbl_8000737C
/* 8011756C 001133AC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80117570 001133B0 7C 08 03 A6 */ mtlr r0
/* 80117574 001133B4 38 21 00 30 */ addi r1, r1, 0x30
/* 80117578 001133B8 4E 80 00 20 */ blr
/* 8011757C 001133BC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Update__Q44nw4r3snd6detail10StrmPlayerFv
Update__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80117580 001133C0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80117584 001133C4 7C 08 02 A6 */ mflr r0
/* 80117588 001133C8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011758C 001133CC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80117590 001133D0 7C 7F 1B 78 */ mr r31, r3
/* 80117594 001133D4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80117598 001133D8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8011759C 001133DC 88 03 01 01 */ lbz r0, 0x101(r3)
/* 801175A0 001133E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 801175A4 001133E4 41 82 01 78 */ beq lbl_8011771C
/* 801175A8 001133E8 88 03 01 04 */ lbz r0, 0x104(r3)
/* 801175AC 001133EC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801175B0 001133F0 41 82 00 24 */ beq lbl_801175D4
/* 801175B4 001133F4 88 03 01 05 */ lbz r0, 0x105(r3)
/* 801175B8 001133F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 801175BC 001133FC 40 82 00 18 */ bne lbl_801175D4
/* 801175C0 00113400 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801175C4 00113404 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801175C8 00113408 7D 89 03 A6 */ mtctr r12
/* 801175CC 0011340C 4E 80 04 21 */ bctrl
/* 801175D0 00113410 48 00 01 4C */ b lbl_8011771C
.global lbl_801175D4
lbl_801175D4:
/* 801175D4 00113414 88 03 01 02 */ lbz r0, 0x102(r3)
/* 801175D8 00113418 2C 00 00 00 */ cmpwi r0, 0x0
/* 801175DC 0011341C 41 82 00 54 */ beq lbl_80117630
/* 801175E0 00113420 80 03 08 0C */ lwz r0, 0x80c(r3)
/* 801175E4 00113424 38 83 0B 58 */ addi r4, r3, 0xb58
/* 801175E8 00113428 7C 09 03 A6 */ mtctr r0
/* 801175EC 0011342C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801175F0 00113430 40 81 00 40 */ ble lbl_80117630
/* 801175F4 00113434 60 00 00 00 */ nop
.global lbl_801175F8
lbl_801175F8:
/* 801175F8 00113438 88 04 00 00 */ lbz r0, 0x0(r4)
/* 801175FC 0011343C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117600 00113440 41 82 00 28 */ beq lbl_80117628
/* 80117604 00113444 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80117608 00113448 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011760C 0011344C 40 82 00 1C */ bne lbl_80117628
/* 80117610 00113450 81 9F 00 00 */ lwz r12, 0x0(r31)
/* 80117614 00113454 7F E3 FB 78 */ mr r3, r31
/* 80117618 00113458 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8011761C 0011345C 7D 89 03 A6 */ mtctr r12
/* 80117620 00113460 4E 80 04 21 */ bctrl
/* 80117624 00113464 48 00 00 F8 */ b lbl_8011771C
.global lbl_80117628
lbl_80117628:
/* 80117628 00113468 38 84 00 38 */ addi r4, r4, 0x38
/* 8011762C 0011346C 42 00 FF CC */ bdnz lbl_801175F8
.global lbl_80117630
lbl_80117630:
/* 80117630 00113470 88 03 01 09 */ lbz r0, 0x109(r3)
/* 80117634 00113474 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117638 00113478 41 82 00 A4 */ beq lbl_801176DC
/* 8011763C 0011347C 80 03 01 74 */ lwz r0, 0x174(r3)
/* 80117640 00113480 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117644 00113484 40 82 00 98 */ bne lbl_801176DC
/* 80117648 00113488 83 A3 08 08 */ lwz r29, 0x808(r3)
2022-10-16 16:31:36 +00:00
/* 8011764C 0011348C 3B CD EC 58 */ addi r30, r13, typeInfo__Q34nw4r2ut13DvdFileStream@sda21
2022-10-16 16:05:58 +00:00
/* 80117650 00113490 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80117654 00113494 41 82 00 48 */ beq lbl_8011769C
/* 80117658 00113498 81 9D 00 00 */ lwz r12, 0x0(r29)
/* 8011765C 0011349C 7F A3 EB 78 */ mr r3, r29
/* 80117660 001134A0 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 80117664 001134A4 7D 89 03 A6 */ mtctr r12
/* 80117668 001134A8 4E 80 04 21 */ bctrl
/* 8011766C 001134AC 48 00 00 18 */ b lbl_80117684
.global lbl_80117670
lbl_80117670:
/* 80117670 001134B0 7C 03 F0 40 */ cmplw r3, r30
/* 80117674 001134B4 40 82 00 0C */ bne lbl_80117680
/* 80117678 001134B8 38 00 00 01 */ li r0, 0x1
/* 8011767C 001134BC 48 00 00 14 */ b lbl_80117690
.global lbl_80117680
lbl_80117680:
/* 80117680 001134C0 80 63 00 00 */ lwz r3, 0x0(r3)
.global lbl_80117684
lbl_80117684:
/* 80117684 001134C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80117688 001134C8 40 82 FF E8 */ bne lbl_80117670
/* 8011768C 001134CC 38 00 00 00 */ li r0, 0x0
.global lbl_80117690
lbl_80117690:
/* 80117690 001134D0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117694 001134D4 41 82 00 08 */ beq lbl_8011769C
/* 80117698 001134D8 48 00 00 08 */ b lbl_801176A0
.global lbl_8011769C
lbl_8011769C:
/* 8011769C 001134DC 3B A0 00 00 */ li r29, 0x0
.global lbl_801176A0
lbl_801176A0:
/* 801176A0 001134E0 2C 1D 00 00 */ cmpwi r29, 0x0
/* 801176A4 001134E4 40 82 00 0C */ bne lbl_801176B0
/* 801176A8 001134E8 38 00 00 00 */ li r0, 0x0
/* 801176AC 001134EC 48 00 00 18 */ b lbl_801176C4
.global lbl_801176B0
lbl_801176B0:
2022-10-16 16:31:36 +00:00
/* 801176B0 001134F0 4B F2 6D 91 */ bl DVDGetDriveStatus
2022-10-16 16:05:58 +00:00
/* 801176B4 001134F4 68 60 00 01 */ xori r0, r3, 0x1
/* 801176B8 001134F8 7C 00 00 34 */ cntlzw r0, r0
/* 801176BC 001134FC 7C 60 00 30 */ slw r0, r3, r0
/* 801176C0 00113500 54 00 0F FE */ srwi r0, r0, 31
.global lbl_801176C4
lbl_801176C4:
/* 801176C4 00113504 2C 00 00 00 */ cmpwi r0, 0x0
/* 801176C8 00113508 40 82 00 14 */ bne lbl_801176DC
/* 801176CC 0011350C 38 00 00 00 */ li r0, 0x0
/* 801176D0 00113510 98 1F 01 09 */ stb r0, 0x109(r31)
/* 801176D4 00113514 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 801176D8 00113518 48 00 0D 09 */ bl UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
.global lbl_801176DC
lbl_801176DC:
/* 801176DC 0011351C 88 1F 01 06 */ lbz r0, 0x106(r31)
/* 801176E0 00113520 2C 00 00 00 */ cmpwi r0, 0x0
/* 801176E4 00113524 41 82 00 0C */ beq lbl_801176F0
/* 801176E8 00113528 38 00 00 00 */ li r0, 0x0
/* 801176EC 0011352C 98 1F 01 06 */ stb r0, 0x106(r31)
.global lbl_801176F0
lbl_801176F0:
/* 801176F0 00113530 3B BF 0B 58 */ addi r29, r31, 0xb58
/* 801176F4 00113534 3B C0 00 00 */ li r30, 0x0
/* 801176F8 00113538 48 00 00 18 */ b lbl_80117710
.global lbl_801176FC
lbl_801176FC:
/* 801176FC 0011353C 7F E3 FB 78 */ mr r3, r31
/* 80117700 00113540 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80117704 00113544 48 00 00 3D */ bl UpdateVoiceParams__Q44nw4r3snd6detail10StrmPlayerFPQ54nw4r3snd6detail10StrmPlayer9StrmTrack
2022-10-16 16:05:58 +00:00
/* 80117708 00113548 3B BD 00 38 */ addi r29, r29, 0x38
/* 8011770C 0011354C 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_80117710
lbl_80117710:
/* 80117710 00113550 80 1F 08 0C */ lwz r0, 0x80c(r31)
/* 80117714 00113554 7C 1E 00 00 */ cmpw r30, r0
/* 80117718 00113558 41 80 FF E4 */ blt lbl_801176FC
.global lbl_8011771C
lbl_8011771C:
/* 8011771C 0011355C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80117720 00113560 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80117724 00113564 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80117728 00113568 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8011772C 0011356C 7C 08 03 A6 */ mtlr r0
/* 80117730 00113570 38 21 00 20 */ addi r1, r1, 0x20
/* 80117734 00113574 4E 80 00 20 */ blr
/* 80117738 00113578 00 00 00 00 */ .4byte 0x00000000
/* 8011773C 0011357C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdateVoiceParams__Q44nw4r3snd6detail10StrmPlayerFPQ54nw4r3snd6detail10StrmPlayer9StrmTrack
UpdateVoiceParams__Q44nw4r3snd6detail10StrmPlayerFPQ54nw4r3snd6detail10StrmPlayer9StrmTrack:
2022-10-16 16:05:58 +00:00
/* 80117740 00113580 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80117744 00113584 7C 08 02 A6 */ mflr r0
/* 80117748 00113588 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8011774C 0011358C 39 61 00 50 */ addi r11, r1, 0x50
/* 80117750 00113590 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 80117754 00113594 F3 E1 00 C8 */ psq_st f31, 0xc8(r1), 0, qr0
/* 80117758 00113598 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 8011775C 0011359C F3 C1 00 B8 */ psq_st f30, 0xb8(r1), 0, qr0
/* 80117760 001135A0 DB A1 00 A0 */ stfd f29, 0xa0(r1)
/* 80117764 001135A4 F3 A1 00 A8 */ psq_st f29, 0xa8(r1), 0, qr0
/* 80117768 001135A8 DB 81 00 90 */ stfd f28, 0x90(r1)
/* 8011776C 001135AC F3 81 00 98 */ psq_st f28, 0x98(r1), 0, qr0
/* 80117770 001135B0 DB 61 00 80 */ stfd f27, 0x80(r1)
/* 80117774 001135B4 F3 61 00 88 */ psq_st f27, 0x88(r1), 0, qr0
/* 80117778 001135B8 DB 41 00 70 */ stfd f26, 0x70(r1)
/* 8011777C 001135BC F3 41 00 78 */ psq_st f26, 0x78(r1), 0, qr0
/* 80117780 001135C0 DB 21 00 60 */ stfd f25, 0x60(r1)
/* 80117784 001135C4 F3 21 00 68 */ psq_st f25, 0x68(r1), 0, qr0
/* 80117788 001135C8 DB 01 00 50 */ stfd f24, 0x50(r1)
/* 8011778C 001135CC F3 01 00 58 */ psq_st f24, 0x58(r1), 0, qr0
/* 80117790 001135D0 4B EE FB A9 */ bl lbl_80007338
/* 80117794 001135D4 88 04 00 00 */ lbz r0, 0x0(r4)
/* 80117798 001135D8 7C 7F 1B 78 */ mr r31, r3
/* 8011779C 001135DC 7C 9A 23 78 */ mr r26, r4
/* 801177A0 001135E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 801177A4 001135E4 41 82 02 68 */ beq lbl_80117A0C
/* 801177A8 001135E8 88 04 00 08 */ lbz r0, 0x8(r4)
/* 801177AC 001135EC 3C A0 43 30 */ lis r5, 0x4330
/* 801177B0 001135F0 90 01 00 2C */ stw r0, 0x2c(r1)
2022-10-16 16:31:36 +00:00
/* 801177B4 001135F4 C3 E2 94 78 */ lfs f31, "@11836"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 801177B8 001135F8 90 A1 00 28 */ stw r5, 0x28(r1)
2022-10-16 16:31:36 +00:00
/* 801177BC 001135FC C8 42 94 70 */ lfd f2, "@11794"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 801177C0 00113600 FF C0 F8 90 */ fmr f30, f31
/* 801177C4 00113604 C8 01 00 28 */ lfd f0, 0x28(r1)
2022-10-16 16:31:36 +00:00
/* 801177C8 00113608 C0 22 94 7C */ lfs f1, "@12109_8055F3FC"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 801177CC 0011360C EC 40 10 28 */ fsubs f2, f0, f2
/* 801177D0 00113610 C0 63 00 04 */ lfs f3, 0x4(r3)
/* 801177D4 00113614 88 C4 00 09 */ lbz r6, 0x9(r4)
/* 801177D8 00113618 EF FF 00 F2 */ fmuls f31, f31, f3
/* 801177DC 0011361C C0 04 00 30 */ lfs f0, 0x30(r4)
/* 801177E0 00113620 EC 22 08 24 */ fdivs f1, f2, f1
/* 801177E4 00113624 C0 43 00 08 */ lfs f2, 0x8(r3)
/* 801177E8 00113628 28 06 00 01 */ cmplwi r6, 0x1
2022-10-16 16:31:36 +00:00
/* 801177EC 0011362C C3 A2 94 60 */ lfs f29, "@11788"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 801177F0 00113630 C0 83 00 0C */ lfs f4, 0xc(r3)
/* 801177F4 00113634 EF FF 00 72 */ fmuls f31, f31, f1
/* 801177F8 00113638 EF DE 00 B2 */ fmuls f30, f30, f2
/* 801177FC 0011363C EF BD 20 2A */ fadds f29, f29, f4
/* 80117800 00113640 EF FF 00 32 */ fmuls f31, f31, f0
/* 80117804 00113644 41 81 00 30 */ bgt lbl_80117834
/* 80117808 00113648 38 06 FF C1 */ addi r0, r6, -0x3f
/* 8011780C 0011364C 90 A1 00 28 */ stw r5, 0x28(r1)
/* 80117810 00113650 6C 00 80 00 */ xoris r0, r0, 0x8000
2022-10-16 16:31:36 +00:00
/* 80117814 00113654 C8 42 94 68 */ lfd f2, "@11793"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117818 00113658 90 01 00 2C */ stw r0, 0x2c(r1)
2022-10-16 16:31:36 +00:00
/* 8011781C 0011365C C0 02 94 80 */ lfs f0, "@12110"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117820 00113660 C8 21 00 28 */ lfd f1, 0x28(r1)
/* 80117824 00113664 EC 21 10 28 */ fsubs f1, f1, f2
/* 80117828 00113668 EC 01 00 24 */ fdivs f0, f1, f0
/* 8011782C 0011366C EF BD 00 2A */ fadds f29, f29, f0
/* 80117830 00113670 48 00 00 2C */ b lbl_8011785C
.global lbl_80117834
lbl_80117834:
/* 80117834 00113674 38 06 FF C0 */ addi r0, r6, -0x40
/* 80117838 00113678 90 A1 00 28 */ stw r5, 0x28(r1)
/* 8011783C 0011367C 6C 00 80 00 */ xoris r0, r0, 0x8000
2022-10-16 16:31:36 +00:00
/* 80117840 00113680 C8 42 94 68 */ lfd f2, "@11793"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117844 00113684 90 01 00 2C */ stw r0, 0x2c(r1)
2022-10-16 16:31:36 +00:00
/* 80117848 00113688 C0 02 94 80 */ lfs f0, "@12110"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8011784C 0011368C C8 21 00 28 */ lfd f1, 0x28(r1)
/* 80117850 00113690 EC 21 10 28 */ fsubs f1, f1, f2
/* 80117854 00113694 EC 01 00 24 */ fdivs f0, f1, f0
/* 80117858 00113698 EF BD 00 2A */ fadds f29, f29, f0
.global lbl_8011785C
lbl_8011785C:
/* 8011785C 0011369C C0 04 00 34 */ lfs f0, 0x34(r4)
/* 80117860 001136A0 3B C1 00 18 */ addi r30, r1, 0x18
2022-10-16 16:31:36 +00:00
/* 80117864 001136A4 C3 62 94 60 */ lfs f27, "@11788"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117868 001136A8 3B 60 00 00 */ li r27, 0x0
/* 8011786C 001136AC EF BD 00 2A */ fadds f29, f29, f0
/* 80117870 001136B0 C0 03 00 10 */ lfs f0, 0x10(r3)
2022-10-16 16:31:36 +00:00
/* 80117874 001136B4 C3 42 94 78 */ lfs f26, "@11836"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117878 001136B8 C0 23 00 14 */ lfs f1, 0x14(r3)
/* 8011787C 001136BC EF 7B 00 2A */ fadds f27, f27, f0
2022-10-16 16:31:36 +00:00
/* 80117880 001136C0 C3 02 94 60 */ lfs f24, "@11788"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 80117884 001136C4 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80117888 001136C8 EF 5A 08 2A */ fadds f26, f26, f1
/* 8011788C 001136CC C3 23 00 18 */ lfs f25, 0x18(r3)
/* 80117890 001136D0 EF 18 00 2A */ fadds f24, f24, f0
/* 80117894 001136D4 8B 83 00 1D */ lbz r28, 0x1d(r3)
/* 80117898 001136D8 8B A3 00 1C */ lbz r29, 0x1c(r3)
2022-10-16 16:31:36 +00:00
/* 8011789C 001136DC C3 82 94 60 */ lfs f28, "@11788"@sda21(r2)
2022-10-16 16:05:58 +00:00
.global lbl_801178A0
lbl_801178A0:
/* 801178A0 001136E0 D3 9E 00 00 */ stfs f28, 0x0(r30)
/* 801178A4 001136E4 7F E3 FB 78 */ mr r3, r31
/* 801178A8 001136E8 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 801178AC 001136EC 4B FE DB A5 */ bl GetFxSend__Q44nw4r3snd6detail11BasicPlayerCFQ34nw4r3snd6AuxBus
2022-10-16 16:05:58 +00:00
/* 801178B0 001136F0 C0 1E 00 00 */ lfs f0, 0x0(r30)
/* 801178B4 001136F4 3B 7B 00 01 */ addi r27, r27, 0x1
/* 801178B8 001136F8 2C 1B 00 03 */ cmpwi r27, 0x3
/* 801178BC 001136FC EC 00 08 2A */ fadds f0, f0, f1
/* 801178C0 00113700 D0 1E 00 00 */ stfs f0, 0x0(r30)
/* 801178C4 00113704 3B DE 00 04 */ addi r30, r30, 0x4
/* 801178C8 00113708 41 80 FF D8 */ blt lbl_801178A0
/* 801178CC 0011370C 3B C1 00 08 */ addi r30, r1, 0x8
/* 801178D0 00113710 3B 60 00 00 */ li r27, 0x0
.global lbl_801178D4
lbl_801178D4:
/* 801178D4 00113714 7F E3 FB 78 */ mr r3, r31
/* 801178D8 00113718 7F 64 DB 78 */ mr r4, r27
2022-10-16 16:31:36 +00:00
/* 801178DC 0011371C 4B FE DB B5 */ bl GetRemoteOutVolume__Q44nw4r3snd6detail11BasicPlayerCFi
2022-10-16 16:05:58 +00:00
/* 801178E0 00113720 3B 7B 00 01 */ addi r27, r27, 0x1
/* 801178E4 00113724 D0 3E 00 00 */ stfs f1, 0x0(r30)
/* 801178E8 00113728 2C 1B 00 04 */ cmpwi r27, 0x4
/* 801178EC 0011372C 3B DE 00 04 */ addi r30, r30, 0x4
/* 801178F0 00113730 41 80 FF E4 */ blt lbl_801178D4
2022-10-16 16:31:36 +00:00
/* 801178F4 00113734 4B F0 9F 2D */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801178F8 00113738 83 7A 00 04 */ lwz r27, 0x4(r26)
/* 801178FC 0011373C 7C 7E 1B 78 */ mr r30, r3
/* 80117900 00113740 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80117904 00113744 41 82 01 00 */ beq lbl_80117A04
/* 80117908 00113748 FC 20 F8 90 */ fmr f1, f31
/* 8011790C 0011374C 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117910 00113750 48 00 31 11 */ bl SetVolume__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117914 00113754 FC 20 F0 90 */ fmr f1, f30
/* 80117918 00113758 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 8011791C 0011375C 48 00 31 B5 */ bl SetPitch__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117920 00113760 FC 20 E8 90 */ fmr f1, f29
/* 80117924 00113764 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117928 00113768 48 00 32 09 */ bl SetPan__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 8011792C 0011376C FC 20 D8 90 */ fmr f1, f27
/* 80117930 00113770 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117934 00113774 48 00 32 1D */ bl SetSurroundPan__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117938 00113778 FC 20 D0 90 */ fmr f1, f26
/* 8011793C 0011377C 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117940 00113780 48 00 32 31 */ bl SetLpfFreq__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117944 00113784 FC 20 C8 90 */ fmr f1, f25
/* 80117948 00113788 7F 63 DB 78 */ mr r3, r27
/* 8011794C 0011378C 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80117950 00113790 48 00 32 41 */ bl SetBiquadFilter__Q44nw4r3snd6detail5VoiceFif
2022-10-16 16:05:58 +00:00
/* 80117954 00113794 7F 63 DB 78 */ mr r3, r27
/* 80117958 00113798 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 8011795C 0011379C 48 00 32 A5 */ bl SetRemoteFilter__Q44nw4r3snd6detail5VoiceFi
2022-10-16 16:05:58 +00:00
/* 80117960 001137A0 80 9F 00 20 */ lwz r4, 0x20(r31)
/* 80117964 001137A4 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117968 001137A8 48 00 32 D9 */ bl SetOutputLine__Q44nw4r3snd6detail5VoiceFi
2022-10-16 16:05:58 +00:00
/* 8011796C 001137AC C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 80117970 001137B0 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117974 001137B4 48 00 32 ED */ bl SetMainOutVolume__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117978 001137B8 FC 20 C0 90 */ fmr f1, f24
/* 8011797C 001137BC 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 80117980 001137C0 48 00 33 11 */ bl SetMainSend__Q44nw4r3snd6detail5VoiceFf
2022-10-16 16:05:58 +00:00
/* 80117984 001137C4 3B A1 00 18 */ addi r29, r1, 0x18
/* 80117988 001137C8 3B 80 00 00 */ li r28, 0x0
.global lbl_8011798C
lbl_8011798C:
/* 8011798C 001137CC C0 3D 00 00 */ lfs f1, 0x0(r29)
/* 80117990 001137D0 7F 63 DB 78 */ mr r3, r27
/* 80117994 001137D4 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 80117998 001137D8 48 00 33 39 */ bl SetFxSend__Q44nw4r3snd6detail5VoiceFQ34nw4r3snd6AuxBusf
2022-10-16 16:05:58 +00:00
/* 8011799C 001137DC 3B 9C 00 01 */ addi r28, r28, 0x1
/* 801179A0 001137E0 3B BD 00 04 */ addi r29, r29, 0x4
/* 801179A4 001137E4 2C 1C 00 03 */ cmpwi r28, 0x3
/* 801179A8 001137E8 41 80 FF E4 */ blt lbl_8011798C
/* 801179AC 001137EC 3B A1 00 08 */ addi r29, r1, 0x8
/* 801179B0 001137F0 3B 80 00 00 */ li r28, 0x0
.global lbl_801179B4
lbl_801179B4:
/* 801179B4 001137F4 C0 3D 00 00 */ lfs f1, 0x0(r29)
/* 801179B8 001137F8 7F 63 DB 78 */ mr r3, r27
/* 801179BC 001137FC 7F 84 E3 78 */ mr r4, r28
2022-10-16 16:31:36 +00:00
/* 801179C0 00113800 48 00 33 51 */ bl SetRemoteOutVolume__Q44nw4r3snd6detail5VoiceFif
2022-10-16 16:05:58 +00:00
/* 801179C4 00113804 3B 9C 00 01 */ addi r28, r28, 0x1
/* 801179C8 00113808 3B BD 00 04 */ addi r29, r29, 0x4
/* 801179CC 0011380C 2C 1C 00 04 */ cmpwi r28, 0x4
/* 801179D0 00113810 41 80 FF E4 */ blt lbl_801179B4
/* 801179D4 00113814 3B BF 00 50 */ addi r29, r31, 0x50
/* 801179D8 00113818 3B 80 00 00 */ li r28, 0x0
/* 801179DC 0011381C 48 00 00 1C */ b lbl_801179F8
.global lbl_801179E0
lbl_801179E0:
/* 801179E0 00113820 7F 63 DB 78 */ mr r3, r27
/* 801179E4 00113824 7F 84 E3 78 */ mr r4, r28
/* 801179E8 00113828 7F A5 EB 78 */ mr r5, r29
2022-10-16 16:31:36 +00:00
/* 801179EC 0011382C 48 00 33 65 */ bl SetVoiceOutParam__Q44nw4r3snd6detail5VoiceFiRCQ34nw4r3snd13VoiceOutParam
2022-10-16 16:05:58 +00:00
/* 801179F0 00113830 3B BD 00 18 */ addi r29, r29, 0x18
/* 801179F4 00113834 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_801179F8
lbl_801179F8:
/* 801179F8 00113838 80 1F 08 14 */ lwz r0, 0x814(r31)
/* 801179FC 0011383C 7C 1C 00 00 */ cmpw r28, r0
/* 80117A00 00113840 41 80 FF E0 */ blt lbl_801179E0
.global lbl_80117A04
lbl_80117A04:
/* 80117A04 00113844 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117A08 00113848 4B F0 9E 59 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
.global lbl_80117A0C
lbl_80117A0C:
/* 80117A0C 0011384C 39 61 00 50 */ addi r11, r1, 0x50
/* 80117A10 00113850 E3 E1 00 C8 */ psq_l f31, 0xc8(r1), 0, qr0
/* 80117A14 00113854 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 80117A18 00113858 E3 C1 00 B8 */ psq_l f30, 0xb8(r1), 0, qr0
/* 80117A1C 0011385C CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 80117A20 00113860 E3 A1 00 A8 */ psq_l f29, 0xa8(r1), 0, qr0
/* 80117A24 00113864 CB A1 00 A0 */ lfd f29, 0xa0(r1)
/* 80117A28 00113868 E3 81 00 98 */ psq_l f28, 0x98(r1), 0, qr0
/* 80117A2C 0011386C CB 81 00 90 */ lfd f28, 0x90(r1)
/* 80117A30 00113870 E3 61 00 88 */ psq_l f27, 0x88(r1), 0, qr0
/* 80117A34 00113874 CB 61 00 80 */ lfd f27, 0x80(r1)
/* 80117A38 00113878 E3 41 00 78 */ psq_l f26, 0x78(r1), 0, qr0
/* 80117A3C 0011387C CB 41 00 70 */ lfd f26, 0x70(r1)
/* 80117A40 00113880 E3 21 00 68 */ psq_l f25, 0x68(r1), 0, qr0
/* 80117A44 00113884 CB 21 00 60 */ lfd f25, 0x60(r1)
/* 80117A48 00113888 E3 01 00 58 */ psq_l f24, 0x58(r1), 0, qr0
/* 80117A4C 0011388C CB 01 00 50 */ lfd f24, 0x50(r1)
/* 80117A50 00113890 4B EE F9 35 */ bl lbl_80007384
/* 80117A54 00113894 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80117A58 00113898 7C 08 03 A6 */ mtlr r0
/* 80117A5C 0011389C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 80117A60 001138A0 4E 80 00 20 */ blr
/* 80117A64 001138A4 00 00 00 00 */ .4byte 0x00000000
/* 80117A68 001138A8 00 00 00 00 */ .4byte 0x00000000
/* 80117A6C 001138AC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdateBuffer__Q44nw4r3snd6detail10StrmPlayerFv
UpdateBuffer__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80117A70 001138B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80117A74 001138B4 7C 08 02 A6 */ mflr r0
/* 80117A78 001138B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80117A7C 001138BC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80117A80 001138C0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80117A84 001138C4 7C 7E 1B 78 */ mr r30, r3
/* 80117A88 001138C8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80117A8C 001138CC 93 81 00 10 */ stw r28, 0x10(r1)
/* 80117A90 001138D0 88 03 01 02 */ lbz r0, 0x102(r3)
/* 80117A94 001138D4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117A98 001138D8 41 82 01 8C */ beq lbl_80117C24
/* 80117A9C 001138DC 88 03 0B 58 */ lbz r0, 0xb58(r3)
/* 80117AA0 001138E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117AA4 001138E4 41 82 01 80 */ beq lbl_80117C24
/* 80117AA8 001138E8 83 E3 0B 5C */ lwz r31, 0xb5c(r3)
/* 80117AAC 001138EC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80117AB0 001138F0 41 82 01 74 */ beq lbl_80117C24
/* 80117AB4 001138F4 80 BF 00 0C */ lwz r5, 0xc(r31)
/* 80117AB8 001138F8 38 80 00 00 */ li r4, 0x0
/* 80117ABC 001138FC 2C 05 00 00 */ cmpwi r5, 0x0
/* 80117AC0 00113900 41 82 00 30 */ beq lbl_80117AF0
/* 80117AC4 00113904 80 C5 00 00 */ lwz r6, 0x0(r5)
/* 80117AC8 00113908 38 A0 00 00 */ li r5, 0x0
/* 80117ACC 0011390C 2C 06 00 00 */ cmpwi r6, 0x0
/* 80117AD0 00113910 41 82 00 14 */ beq lbl_80117AE4
/* 80117AD4 00113914 A0 06 00 38 */ lhz r0, 0x38(r6)
/* 80117AD8 00113918 28 00 00 01 */ cmplwi r0, 0x1
/* 80117ADC 0011391C 40 82 00 08 */ bne lbl_80117AE4
/* 80117AE0 00113920 38 A0 00 01 */ li r5, 0x1
.global lbl_80117AE4
lbl_80117AE4:
/* 80117AE4 00113924 2C 05 00 00 */ cmpwi r5, 0x0
/* 80117AE8 00113928 41 82 00 08 */ beq lbl_80117AF0
/* 80117AEC 0011392C 38 80 00 01 */ li r4, 0x1
.global lbl_80117AF0
lbl_80117AF0:
/* 80117AF0 00113930 2C 04 00 00 */ cmpwi r4, 0x0
/* 80117AF4 00113934 41 82 01 30 */ beq lbl_80117C24
/* 80117AF8 00113938 83 83 08 08 */ lwz r28, 0x808(r3)
2022-10-16 16:31:36 +00:00
/* 80117AFC 0011393C 3B AD EC 58 */ addi r29, r13, typeInfo__Q34nw4r2ut13DvdFileStream@sda21
2022-10-16 16:05:58 +00:00
/* 80117B00 00113940 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80117B04 00113944 41 82 00 48 */ beq lbl_80117B4C
/* 80117B08 00113948 81 9C 00 00 */ lwz r12, 0x0(r28)
/* 80117B0C 0011394C 7F 83 E3 78 */ mr r3, r28
/* 80117B10 00113950 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 80117B14 00113954 7D 89 03 A6 */ mtctr r12
/* 80117B18 00113958 4E 80 04 21 */ bctrl
/* 80117B1C 0011395C 48 00 00 18 */ b lbl_80117B34
.global lbl_80117B20
lbl_80117B20:
/* 80117B20 00113960 7C 03 E8 40 */ cmplw r3, r29
/* 80117B24 00113964 40 82 00 0C */ bne lbl_80117B30
/* 80117B28 00113968 38 00 00 01 */ li r0, 0x1
/* 80117B2C 0011396C 48 00 00 14 */ b lbl_80117B40
.global lbl_80117B30
lbl_80117B30:
/* 80117B30 00113970 80 63 00 00 */ lwz r3, 0x0(r3)
.global lbl_80117B34
lbl_80117B34:
/* 80117B34 00113974 2C 03 00 00 */ cmpwi r3, 0x0
/* 80117B38 00113978 40 82 FF E8 */ bne lbl_80117B20
/* 80117B3C 0011397C 38 00 00 00 */ li r0, 0x0
.global lbl_80117B40
lbl_80117B40:
/* 80117B40 00113980 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117B44 00113984 41 82 00 08 */ beq lbl_80117B4C
/* 80117B48 00113988 48 00 00 08 */ b lbl_80117B50
.global lbl_80117B4C
lbl_80117B4C:
/* 80117B4C 0011398C 3B 80 00 00 */ li r28, 0x0
.global lbl_80117B50
lbl_80117B50:
/* 80117B50 00113990 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80117B54 00113994 40 82 00 0C */ bne lbl_80117B60
/* 80117B58 00113998 38 00 00 00 */ li r0, 0x0
/* 80117B5C 0011399C 48 00 00 18 */ b lbl_80117B74
.global lbl_80117B60
lbl_80117B60:
2022-10-16 16:31:36 +00:00
/* 80117B60 001139A0 4B F2 68 E1 */ bl DVDGetDriveStatus
2022-10-16 16:05:58 +00:00
/* 80117B64 001139A4 68 60 00 01 */ xori r0, r3, 0x1
/* 80117B68 001139A8 7C 00 00 34 */ cntlzw r0, r0
/* 80117B6C 001139AC 7C 60 00 30 */ slw r0, r3, r0
/* 80117B70 001139B0 54 00 0F FE */ srwi r0, r0, 31
.global lbl_80117B74
lbl_80117B74:
/* 80117B74 001139B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117B78 001139B8 41 82 00 14 */ beq lbl_80117B8C
/* 80117B7C 001139BC 38 00 00 01 */ li r0, 0x1
/* 80117B80 001139C0 98 1E 01 09 */ stb r0, 0x109(r30)
/* 80117B84 001139C4 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117B88 001139C8 48 00 08 59 */ bl UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
.global lbl_80117B8C
lbl_80117B8C:
/* 80117B8C 001139CC 88 1E 01 0D */ lbz r0, 0x10d(r30)
/* 80117B90 001139D0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117B94 001139D4 40 82 00 90 */ bne lbl_80117C24
/* 80117B98 001139D8 88 1E 01 0A */ lbz r0, 0x10a(r30)
/* 80117B9C 001139DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117BA0 001139E0 40 82 00 84 */ bne lbl_80117C24
/* 80117BA4 001139E4 88 1E 01 09 */ lbz r0, 0x109(r30)
/* 80117BA8 001139E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117BAC 001139EC 40 82 00 78 */ bne lbl_80117C24
/* 80117BB0 001139F0 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80117BB4 001139F4 48 00 34 0D */ bl GetCurrentPlayingSample__Q44nw4r3snd6detail5VoiceCFv
2022-10-16 16:05:58 +00:00
/* 80117BB8 001139F8 80 1E 00 E8 */ lwz r0, 0xe8(r30)
/* 80117BBC 001139FC 7F 83 03 96 */ divwu r28, r3, r0
/* 80117BC0 00113A00 48 00 00 58 */ b lbl_80117C18
.global lbl_80117BC4
lbl_80117BC4:
/* 80117BC4 00113A04 88 1E 01 09 */ lbz r0, 0x109(r30)
/* 80117BC8 00113A08 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117BCC 00113A0C 40 82 00 3C */ bne lbl_80117C08
/* 80117BD0 00113A10 80 1E 01 74 */ lwz r0, 0x174(r30)
/* 80117BD4 00113A14 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117BD8 00113A18 41 82 00 30 */ beq lbl_80117C08
/* 80117BDC 00113A1C 80 7E 01 24 */ lwz r3, 0x124(r30)
/* 80117BE0 00113A20 80 9E 01 48 */ lwz r4, 0x148(r30)
/* 80117BE4 00113A24 38 03 FF FE */ addi r0, r3, -0x2
/* 80117BE8 00113A28 7C 04 00 00 */ cmpw r4, r0
/* 80117BEC 00113A2C 41 80 00 1C */ blt lbl_80117C08
/* 80117BF0 00113A30 38 00 00 01 */ li r0, 0x1
/* 80117BF4 00113A34 98 1E 01 06 */ stb r0, 0x106(r30)
/* 80117BF8 00113A38 7F C3 F3 78 */ mr r3, r30
/* 80117BFC 00113A3C 98 1E 01 09 */ stb r0, 0x109(r30)
2022-10-16 16:31:36 +00:00
/* 80117C00 00113A40 48 00 07 E1 */ bl UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80117C04 00113A44 48 00 00 20 */ b lbl_80117C24
.global lbl_80117C08
lbl_80117C08:
/* 80117C08 00113A48 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117C0C 00113A4C 48 00 01 55 */ bl UpdatePlayingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80117C10 00113A50 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117C14 00113A54 48 00 05 9D */ bl UpdateLoadingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
.global lbl_80117C18
lbl_80117C18:
/* 80117C18 00113A58 80 1E 01 38 */ lwz r0, 0x138(r30)
/* 80117C1C 00113A5C 7C 00 E0 00 */ cmpw r0, r28
/* 80117C20 00113A60 40 82 FF A4 */ bne lbl_80117BC4
.global lbl_80117C24
lbl_80117C24:
/* 80117C24 00113A64 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80117C28 00113A68 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80117C2C 00113A6C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80117C30 00113A70 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80117C34 00113A74 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80117C38 00113A78 7C 08 03 A6 */ mtlr r0
/* 80117C3C 00113A7C 38 21 00 20 */ addi r1, r1, 0x20
/* 80117C40 00113A80 4E 80 00 20 */ blr
/* 80117C44 00113A84 00 00 00 00 */ .4byte 0x00000000
/* 80117C48 00113A88 00 00 00 00 */ .4byte 0x00000000
/* 80117C4C 00113A8C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdateLoopAddress__Q44nw4r3snd6detail10StrmPlayerFUlUl
UpdateLoopAddress__Q44nw4r3snd6detail10StrmPlayerFUlUl:
2022-10-16 16:05:58 +00:00
/* 80117C50 00113A90 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80117C54 00113A94 7C 08 02 A6 */ mflr r0
/* 80117C58 00113A98 90 01 00 34 */ stw r0, 0x34(r1)
/* 80117C5C 00113A9C 39 61 00 30 */ addi r11, r1, 0x30
/* 80117C60 00113AA0 4B EE F6 C9 */ bl lbl_80007328
/* 80117C64 00113AA4 7C 76 1B 78 */ mr r22, r3
/* 80117C68 00113AA8 7C 97 23 78 */ mr r23, r4
/* 80117C6C 00113AAC 7C B8 2B 78 */ mr r24, r5
2022-10-16 16:31:36 +00:00
/* 80117C70 00113AB0 4B F0 9B B1 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80117C74 00113AB4 7C 7F 1B 78 */ mr r31, r3
/* 80117C78 00113AB8 7E DC B3 78 */ mr r28, r22
/* 80117C7C 00113ABC 3B B6 0B 58 */ addi r29, r22, 0xb58
/* 80117C80 00113AC0 3B 60 00 00 */ li r27, 0x0
/* 80117C84 00113AC4 48 00 00 A8 */ b lbl_80117D2C
.global lbl_80117C88
lbl_80117C88:
/* 80117C88 00113AC8 88 1D 00 00 */ lbz r0, 0x0(r29)
/* 80117C8C 00113ACC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117C90 00113AD0 41 82 00 90 */ beq lbl_80117D20
/* 80117C94 00113AD4 83 5D 00 04 */ lwz r26, 0x4(r29)
/* 80117C98 00113AD8 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80117C9C 00113ADC 41 82 00 84 */ beq lbl_80117D20
/* 80117CA0 00113AE0 3B 20 00 00 */ li r25, 0x0
/* 80117CA4 00113AE4 48 00 00 64 */ b lbl_80117D08
.global lbl_80117CA8
lbl_80117CA8:
/* 80117CA8 00113AE8 2C 19 00 02 */ cmpwi r25, 0x2
/* 80117CAC 00113AEC 41 80 00 0C */ blt lbl_80117CB8
/* 80117CB0 00113AF0 3B C0 00 00 */ li r30, 0x0
/* 80117CB4 00113AF4 48 00 00 28 */ b lbl_80117CDC
.global lbl_80117CB8
lbl_80117CB8:
/* 80117CB8 00113AF8 7C 7C CA 14 */ add r3, r28, r25
/* 80117CBC 00113AFC 88 03 0B 68 */ lbz r0, 0xb68(r3)
/* 80117CC0 00113B00 2C 00 00 10 */ cmpwi r0, 0x10
/* 80117CC4 00113B04 41 80 00 0C */ blt lbl_80117CD0
/* 80117CC8 00113B08 3B C0 00 00 */ li r30, 0x0
/* 80117CCC 00113B0C 48 00 00 10 */ b lbl_80117CDC
.global lbl_80117CD0
lbl_80117CD0:
/* 80117CD0 00113B10 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80117CD4 00113B14 7C 76 02 14 */ add r3, r22, r0
/* 80117CD8 00113B18 3B C3 08 18 */ addi r30, r3, 0x818
.global lbl_80117CDC
lbl_80117CDC:
/* 80117CDC 00113B1C 80 BE 00 00 */ lwz r5, 0x0(r30)
/* 80117CE0 00113B20 7F 43 D3 78 */ mr r3, r26
/* 80117CE4 00113B24 7F 24 CB 78 */ mr r4, r25
/* 80117CE8 00113B28 7E E6 BB 78 */ mr r6, r23
2022-10-16 16:31:36 +00:00
/* 80117CEC 00113B2C 48 00 32 F5 */ bl SetLoopStart__Q44nw4r3snd6detail5VoiceFiPCvUl
2022-10-16 16:05:58 +00:00
/* 80117CF0 00113B30 80 BE 00 00 */ lwz r5, 0x0(r30)
/* 80117CF4 00113B34 7F 43 D3 78 */ mr r3, r26
/* 80117CF8 00113B38 7F 24 CB 78 */ mr r4, r25
/* 80117CFC 00113B3C 7F 06 C3 78 */ mr r6, r24
2022-10-16 16:31:36 +00:00
/* 80117D00 00113B40 48 00 33 61 */ bl SetLoopEnd__Q44nw4r3snd6detail5VoiceFiPCvUl
2022-10-16 16:05:58 +00:00
/* 80117D04 00113B44 3B 39 00 01 */ addi r25, r25, 0x1
.global lbl_80117D08
lbl_80117D08:
/* 80117D08 00113B48 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80117D0C 00113B4C 7C 19 00 00 */ cmpw r25, r0
/* 80117D10 00113B50 41 80 FF 98 */ blt lbl_80117CA8
/* 80117D14 00113B54 7F 43 D3 78 */ mr r3, r26
/* 80117D18 00113B58 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 80117D1C 00113B5C 48 00 33 C5 */ bl SetLoopFlag__Q44nw4r3snd6detail5VoiceFb
2022-10-16 16:05:58 +00:00
.global lbl_80117D20
lbl_80117D20:
/* 80117D20 00113B60 3B BD 00 38 */ addi r29, r29, 0x38
/* 80117D24 00113B64 3B 9C 00 38 */ addi r28, r28, 0x38
/* 80117D28 00113B68 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80117D2C
lbl_80117D2C:
/* 80117D2C 00113B6C 80 16 08 0C */ lwz r0, 0x80c(r22)
/* 80117D30 00113B70 7C 1B 00 00 */ cmpw r27, r0
/* 80117D34 00113B74 41 80 FF 54 */ blt lbl_80117C88
/* 80117D38 00113B78 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80117D3C 00113B7C 4B F0 9B 25 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80117D40 00113B80 39 61 00 30 */ addi r11, r1, 0x30
/* 80117D44 00113B84 4B EE F6 31 */ bl lbl_80007374
/* 80117D48 00113B88 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80117D4C 00113B8C 7C 08 03 A6 */ mtlr r0
/* 80117D50 00113B90 38 21 00 30 */ addi r1, r1, 0x30
/* 80117D54 00113B94 4E 80 00 20 */ blr
/* 80117D58 00113B98 00 00 00 00 */ .4byte 0x00000000
/* 80117D5C 00113B9C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdatePlayingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv
UpdatePlayingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 80117D60 00113BA0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80117D64 00113BA4 7C 08 02 A6 */ mflr r0
/* 80117D68 00113BA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80117D6C 00113BAC 39 61 00 30 */ addi r11, r1, 0x30
/* 80117D70 00113BB0 4B EE F5 C5 */ bl lbl_80007334
/* 80117D74 00113BB4 80 83 01 3C */ lwz r4, 0x13c(r3)
/* 80117D78 00113BB8 7C 7F 1B 78 */ mr r31, r3
/* 80117D7C 00113BBC 80 03 01 44 */ lwz r0, 0x144(r3)
/* 80117D80 00113BC0 38 84 00 01 */ addi r4, r4, 0x1
/* 80117D84 00113BC4 90 83 01 3C */ stw r4, 0x13c(r3)
/* 80117D88 00113BC8 7C 04 00 00 */ cmpw r4, r0
/* 80117D8C 00113BCC 40 81 00 4C */ ble lbl_80117DD8
/* 80117D90 00113BD0 88 03 00 C4 */ lbz r0, 0xc4(r3)
/* 80117D94 00113BD4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117D98 00113BD8 41 82 00 40 */ beq lbl_80117DD8
/* 80117D9C 00113BDC 3C 80 80 00 */ lis r4, 0x8000
/* 80117DA0 00113BE0 80 A3 01 10 */ lwz r5, 0x110(r3)
/* 80117DA4 00113BE4 38 04 FF FF */ addi r0, r4, -0x1
/* 80117DA8 00113BE8 80 83 01 40 */ lwz r4, 0x140(r3)
/* 80117DAC 00113BEC 7C 05 00 00 */ cmpw r5, r0
/* 80117DB0 00113BF0 90 83 01 3C */ stw r4, 0x13c(r3)
/* 80117DB4 00113BF4 40 80 00 0C */ bge lbl_80117DC0
/* 80117DB8 00113BF8 38 05 00 01 */ addi r0, r5, 0x1
/* 80117DBC 00113BFC 90 03 01 10 */ stw r0, 0x110(r3)
.global lbl_80117DC0
lbl_80117DC0:
/* 80117DC0 00113C00 80 BF 01 34 */ lwz r5, 0x134(r31)
/* 80117DC4 00113C04 7F E3 FB 78 */ mr r3, r31
/* 80117DC8 00113C08 80 1F 00 E8 */ lwz r0, 0xe8(r31)
/* 80117DCC 00113C0C 38 80 00 00 */ li r4, 0x0
/* 80117DD0 00113C10 7C A5 01 D6 */ mullw r5, r5, r0
2022-10-16 16:31:36 +00:00
/* 80117DD4 00113C14 4B FF FE 7D */ bl UpdateLoopAddress__Q44nw4r3snd6detail10StrmPlayerFUlUl
2022-10-16 16:05:58 +00:00
.global lbl_80117DD8
lbl_80117DD8:
/* 80117DD8 00113C18 80 7F 01 38 */ lwz r3, 0x138(r31)
/* 80117DDC 00113C1C 80 1F 01 34 */ lwz r0, 0x134(r31)
/* 80117DE0 00113C20 38 63 00 01 */ addi r3, r3, 0x1
/* 80117DE4 00113C24 90 7F 01 38 */ stw r3, 0x138(r31)
/* 80117DE8 00113C28 7C 03 00 00 */ cmpw r3, r0
/* 80117DEC 00113C2C 41 80 00 28 */ blt lbl_80117E14
/* 80117DF0 00113C30 80 DF 01 28 */ lwz r6, 0x128(r31)
/* 80117DF4 00113C34 38 80 00 00 */ li r4, 0x0
/* 80117DF8 00113C38 80 1F 00 E8 */ lwz r0, 0xe8(r31)
/* 80117DFC 00113C3C 7F E3 FB 78 */ mr r3, r31
/* 80117E00 00113C40 90 9F 01 38 */ stw r4, 0x138(r31)
/* 80117E04 00113C44 38 80 00 00 */ li r4, 0x0
/* 80117E08 00113C48 7C A6 01 D6 */ mullw r5, r6, r0
/* 80117E0C 00113C4C 90 DF 01 34 */ stw r6, 0x134(r31)
2022-10-16 16:31:36 +00:00
/* 80117E10 00113C50 4B FF FE 41 */ bl UpdateLoopAddress__Q44nw4r3snd6detail10StrmPlayerFUlUl
2022-10-16 16:05:58 +00:00
.global lbl_80117E14
lbl_80117E14:
/* 80117E14 00113C54 80 7F 01 34 */ lwz r3, 0x134(r31)
/* 80117E18 00113C58 80 9F 01 38 */ lwz r4, 0x138(r31)
/* 80117E1C 00113C5C 38 03 FF FF */ addi r0, r3, -0x1
/* 80117E20 00113C60 7C 04 00 00 */ cmpw r4, r0
/* 80117E24 00113C64 40 82 00 FC */ bne lbl_80117F20
/* 80117E28 00113C68 88 1F 01 0B */ lbz r0, 0x10b(r31)
/* 80117E2C 00113C6C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117E30 00113C70 40 82 00 E4 */ bne lbl_80117F14
/* 80117E34 00113C74 88 1F 01 0C */ lbz r0, 0x10c(r31)
/* 80117E38 00113C78 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117E3C 00113C7C 41 82 00 D8 */ beq lbl_80117F14
/* 80117E40 00113C80 3B 9F 0B 58 */ addi r28, r31, 0xb58
/* 80117E44 00113C84 3B 60 00 00 */ li r27, 0x0
/* 80117E48 00113C88 3B A0 00 00 */ li r29, 0x0
/* 80117E4C 00113C8C 48 00 00 BC */ b lbl_80117F08
.global lbl_80117E50
lbl_80117E50:
/* 80117E50 00113C90 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 80117E54 00113C94 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117E58 00113C98 41 82 00 A8 */ beq lbl_80117F00
/* 80117E5C 00113C9C 83 5C 00 04 */ lwz r26, 0x4(r28)
/* 80117E60 00113CA0 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80117E64 00113CA4 41 82 00 9C */ beq lbl_80117F00
/* 80117E68 00113CA8 7F 43 D3 78 */ mr r3, r26
2022-10-16 16:31:36 +00:00
/* 80117E6C 00113CAC 48 00 2B 95 */ bl GetFormat__Q44nw4r3snd6detail5VoiceCFv
2022-10-16 16:05:58 +00:00
/* 80117E70 00113CB0 2C 03 00 03 */ cmpwi r3, 0x3
/* 80117E74 00113CB4 40 82 00 8C */ bne lbl_80117F00
2022-10-16 16:31:36 +00:00
/* 80117E78 00113CB8 4B F0 99 A9 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80117E7C 00113CBC 7C 7E 1B 78 */ mr r30, r3
/* 80117E80 00113CC0 3B 20 00 00 */ li r25, 0x0
/* 80117E84 00113CC4 48 00 00 5C */ b lbl_80117EE0
.global lbl_80117E88
lbl_80117E88:
/* 80117E88 00113CC8 2C 19 00 02 */ cmpwi r25, 0x2
/* 80117E8C 00113CCC 41 80 00 0C */ blt lbl_80117E98
/* 80117E90 00113CD0 38 60 00 00 */ li r3, 0x0
/* 80117E94 00113CD4 48 00 00 28 */ b lbl_80117EBC
.global lbl_80117E98
lbl_80117E98:
/* 80117E98 00113CD8 7C 7C CA 14 */ add r3, r28, r25
/* 80117E9C 00113CDC 88 03 00 10 */ lbz r0, 0x10(r3)
/* 80117EA0 00113CE0 2C 00 00 10 */ cmpwi r0, 0x10
/* 80117EA4 00113CE4 41 80 00 0C */ blt lbl_80117EB0
/* 80117EA8 00113CE8 38 60 00 00 */ li r3, 0x0
/* 80117EAC 00113CEC 48 00 00 10 */ b lbl_80117EBC
.global lbl_80117EB0
lbl_80117EB0:
/* 80117EB0 00113CF0 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80117EB4 00113CF4 7C 7F 02 14 */ add r3, r31, r0
/* 80117EB8 00113CF8 38 63 08 18 */ addi r3, r3, 0x818
.global lbl_80117EBC
lbl_80117EBC:
/* 80117EBC 00113CFC A0 03 00 32 */ lhz r0, 0x32(r3)
/* 80117EC0 00113D00 7F 43 D3 78 */ mr r3, r26
/* 80117EC4 00113D04 B0 01 00 08 */ sth r0, 0x8(r1)
/* 80117EC8 00113D08 7F 24 CB 78 */ mr r4, r25
/* 80117ECC 00113D0C 38 A1 00 08 */ addi r5, r1, 0x8
/* 80117ED0 00113D10 B3 A1 00 0A */ sth r29, 0xa(r1)
/* 80117ED4 00113D14 B3 A1 00 0C */ sth r29, 0xc(r1)
2022-10-16 16:31:36 +00:00
/* 80117ED8 00113D18 48 00 30 29 */ bl SetAdpcmLoop__Q44nw4r3snd6detail5VoiceFiPCQ44nw4r3snd6detail14AdpcmLoopParam
2022-10-16 16:05:58 +00:00
/* 80117EDC 00113D1C 3B 39 00 01 */ addi r25, r25, 0x1
.global lbl_80117EE0
lbl_80117EE0:
/* 80117EE0 00113D20 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80117EE4 00113D24 7C 19 00 00 */ cmpw r25, r0
/* 80117EE8 00113D28 41 80 FF A0 */ blt lbl_80117E88
/* 80117EEC 00113D2C 7F 43 D3 78 */ mr r3, r26
/* 80117EF0 00113D30 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 80117EF4 00113D34 48 00 32 FD */ bl SetVoiceType__Q44nw4r3snd6detail5VoiceFQ54nw4r3snd6detail7AxVoice9VoiceType
2022-10-16 16:05:58 +00:00
/* 80117EF8 00113D38 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80117EFC 00113D3C 4B F0 99 65 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
.global lbl_80117F00
lbl_80117F00:
/* 80117F00 00113D40 3B 9C 00 38 */ addi r28, r28, 0x38
/* 80117F04 00113D44 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80117F08
lbl_80117F08:
/* 80117F08 00113D48 80 1F 08 0C */ lwz r0, 0x80c(r31)
/* 80117F0C 00113D4C 7C 1B 00 00 */ cmpw r27, r0
/* 80117F10 00113D50 41 80 FF 40 */ blt lbl_80117E50
.global lbl_80117F14
lbl_80117F14:
/* 80117F14 00113D54 38 00 00 00 */ li r0, 0x0
/* 80117F18 00113D58 98 1F 01 0C */ stb r0, 0x10c(r31)
/* 80117F1C 00113D5C 98 1F 01 0B */ stb r0, 0x10b(r31)
.global lbl_80117F20
lbl_80117F20:
/* 80117F20 00113D60 80 7F 01 44 */ lwz r3, 0x144(r31)
/* 80117F24 00113D64 80 9F 01 3C */ lwz r4, 0x13c(r31)
/* 80117F28 00113D68 38 03 FF FF */ addi r0, r3, -0x1
/* 80117F2C 00113D6C 7C 04 00 00 */ cmpw r4, r0
/* 80117F30 00113D70 40 82 00 14 */ bne lbl_80117F44
/* 80117F34 00113D74 80 9F 01 38 */ lwz r4, 0x138(r31)
/* 80117F38 00113D78 7F E3 FB 78 */ mr r3, r31
/* 80117F3C 00113D7C 38 84 00 01 */ addi r4, r4, 0x1
2022-10-16 16:31:36 +00:00
/* 80117F40 00113D80 48 00 00 21 */ bl UpdateDataLoopAddress__Q44nw4r3snd6detail10StrmPlayerFl
2022-10-16 16:05:58 +00:00
.global lbl_80117F44
lbl_80117F44:
/* 80117F44 00113D84 39 61 00 30 */ addi r11, r1, 0x30
/* 80117F48 00113D88 4B EE F4 39 */ bl lbl_80007380
/* 80117F4C 00113D8C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80117F50 00113D90 7C 08 03 A6 */ mtlr r0
/* 80117F54 00113D94 38 21 00 30 */ addi r1, r1, 0x30
/* 80117F58 00113D98 4E 80 00 20 */ blr
/* 80117F5C 00113D9C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdateDataLoopAddress__Q44nw4r3snd6detail10StrmPlayerFl
UpdateDataLoopAddress__Q44nw4r3snd6detail10StrmPlayerFl:
2022-10-16 16:05:58 +00:00
/* 80117F60 00113DA0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80117F64 00113DA4 7C 08 02 A6 */ mflr r0
/* 80117F68 00113DA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80117F6C 00113DAC 39 61 00 30 */ addi r11, r1, 0x30
/* 80117F70 00113DB0 4B EE F3 C5 */ bl lbl_80007334
/* 80117F74 00113DB4 88 03 00 C4 */ lbz r0, 0xc4(r3)
/* 80117F78 00113DB8 7C 7E 1B 78 */ mr r30, r3
/* 80117F7C 00113DBC 7C 9F 23 78 */ mr r31, r4
/* 80117F80 00113DC0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117F84 00113DC4 41 82 01 1C */ beq lbl_801180A0
/* 80117F88 00113DC8 80 03 01 34 */ lwz r0, 0x134(r3)
/* 80117F8C 00113DCC 3B 84 00 01 */ addi r28, r4, 0x1
/* 80117F90 00113DD0 7C 1C 00 00 */ cmpw r28, r0
/* 80117F94 00113DD4 41 80 00 08 */ blt lbl_80117F9C
/* 80117F98 00113DD8 7F 80 E0 50 */ subf r28, r0, r28
.global lbl_80117F9C
lbl_80117F9C:
2022-10-16 16:31:36 +00:00
/* 80117F9C 00113DDC 4B F0 98 85 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80117FA0 00113DE0 80 9E 00 E8 */ lwz r4, 0xe8(r30)
/* 80117FA4 00113DE4 7C 7D 1B 78 */ mr r29, r3
/* 80117FA8 00113DE8 80 BE 00 F0 */ lwz r5, 0xf0(r30)
/* 80117FAC 00113DEC 7F C3 F3 78 */ mr r3, r30
/* 80117FB0 00113DF0 7C 1F 21 D6 */ mullw r0, r31, r4
/* 80117FB4 00113DF4 7C 9C 21 D6 */ mullw r4, r28, r4
/* 80117FB8 00113DF8 7C A5 02 14 */ add r5, r5, r0
2022-10-16 16:31:36 +00:00
/* 80117FBC 00113DFC 4B FF FC 95 */ bl UpdateLoopAddress__Q44nw4r3snd6detail10StrmPlayerFUlUl
2022-10-16 16:05:58 +00:00
/* 80117FC0 00113E00 80 1E 00 C0 */ lwz r0, 0xc0(r30)
/* 80117FC4 00113E04 2C 00 00 03 */ cmpwi r0, 0x3
/* 80117FC8 00113E08 40 82 00 CC */ bne lbl_80118094
/* 80117FCC 00113E0C 3B 9E 0B 58 */ addi r28, r30, 0xb58
/* 80117FD0 00113E10 3B 60 00 00 */ li r27, 0x0
/* 80117FD4 00113E14 48 00 00 9C */ b lbl_80118070
.global lbl_80117FD8
lbl_80117FD8:
/* 80117FD8 00113E18 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 80117FDC 00113E1C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80117FE0 00113E20 41 82 00 88 */ beq lbl_80118068
/* 80117FE4 00113E24 83 5C 00 04 */ lwz r26, 0x4(r28)
/* 80117FE8 00113E28 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80117FEC 00113E2C 41 82 00 7C */ beq lbl_80118068
/* 80117FF0 00113E30 7F 43 D3 78 */ mr r3, r26
2022-10-16 16:31:36 +00:00
/* 80117FF4 00113E34 48 00 2A 0D */ bl GetFormat__Q44nw4r3snd6detail5VoiceCFv
2022-10-16 16:05:58 +00:00
/* 80117FF8 00113E38 2C 03 00 03 */ cmpwi r3, 0x3
/* 80117FFC 00113E3C 40 82 00 6C */ bne lbl_80118068
/* 80118000 00113E40 7F 43 D3 78 */ mr r3, r26
/* 80118004 00113E44 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 80118008 00113E48 48 00 31 E9 */ bl SetVoiceType__Q44nw4r3snd6detail5VoiceFQ54nw4r3snd6detail7AxVoice9VoiceType
2022-10-16 16:05:58 +00:00
/* 8011800C 00113E4C 3B 20 00 00 */ li r25, 0x0
/* 80118010 00113E50 48 00 00 4C */ b lbl_8011805C
.global lbl_80118014
lbl_80118014:
/* 80118014 00113E54 2C 19 00 02 */ cmpwi r25, 0x2
/* 80118018 00113E58 41 80 00 0C */ blt lbl_80118024
/* 8011801C 00113E5C 38 A0 00 00 */ li r5, 0x0
/* 80118020 00113E60 48 00 00 28 */ b lbl_80118048
.global lbl_80118024
lbl_80118024:
/* 80118024 00113E64 7C 7C CA 14 */ add r3, r28, r25
/* 80118028 00113E68 88 03 00 10 */ lbz r0, 0x10(r3)
/* 8011802C 00113E6C 2C 00 00 10 */ cmpwi r0, 0x10
/* 80118030 00113E70 41 80 00 0C */ blt lbl_8011803C
/* 80118034 00113E74 38 A0 00 00 */ li r5, 0x0
/* 80118038 00113E78 48 00 00 10 */ b lbl_80118048
.global lbl_8011803C
lbl_8011803C:
/* 8011803C 00113E7C 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80118040 00113E80 7C 7E 02 14 */ add r3, r30, r0
/* 80118044 00113E84 38 A3 08 18 */ addi r5, r3, 0x818
.global lbl_80118048
lbl_80118048:
/* 80118048 00113E88 7F 43 D3 78 */ mr r3, r26
/* 8011804C 00113E8C 7F 24 CB 78 */ mr r4, r25
/* 80118050 00113E90 38 A5 00 2C */ addi r5, r5, 0x2c
2022-10-16 16:31:36 +00:00
/* 80118054 00113E94 48 00 2E AD */ bl SetAdpcmLoop__Q44nw4r3snd6detail5VoiceFiPCQ44nw4r3snd6detail14AdpcmLoopParam
2022-10-16 16:05:58 +00:00
/* 80118058 00113E98 3B 39 00 01 */ addi r25, r25, 0x1
.global lbl_8011805C
lbl_8011805C:
/* 8011805C 00113E9C 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80118060 00113EA0 7C 19 00 00 */ cmpw r25, r0
/* 80118064 00113EA4 41 80 FF B0 */ blt lbl_80118014
.global lbl_80118068
lbl_80118068:
/* 80118068 00113EA8 3B 9C 00 38 */ addi r28, r28, 0x38
/* 8011806C 00113EAC 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80118070
lbl_80118070:
/* 80118070 00113EB0 80 1E 08 0C */ lwz r0, 0x80c(r30)
/* 80118074 00113EB4 7C 1B 00 00 */ cmpw r27, r0
/* 80118078 00113EB8 41 80 FF 60 */ blt lbl_80117FD8
/* 8011807C 00113EBC 80 7E 01 34 */ lwz r3, 0x134(r30)
/* 80118080 00113EC0 38 03 FF FF */ addi r0, r3, -0x1
/* 80118084 00113EC4 7C 1F 00 00 */ cmpw r31, r0
/* 80118088 00113EC8 40 82 00 0C */ bne lbl_80118094
/* 8011808C 00113ECC 38 00 00 01 */ li r0, 0x1
/* 80118090 00113ED0 98 1E 01 0B */ stb r0, 0x10b(r30)
.global lbl_80118094
lbl_80118094:
/* 80118094 00113ED4 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 80118098 00113ED8 4B F0 97 C9 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 8011809C 00113EDC 48 00 00 08 */ b lbl_801180A4
.global lbl_801180A0
lbl_801180A0:
2022-10-16 16:31:36 +00:00
/* 801180A0 00113EE0 48 00 00 21 */ bl SetLoopEndToZeroBuffer__Q44nw4r3snd6detail10StrmPlayerFi
2022-10-16 16:05:58 +00:00
.global lbl_801180A4
lbl_801180A4:
/* 801180A4 00113EE4 39 61 00 30 */ addi r11, r1, 0x30
/* 801180A8 00113EE8 4B EE F2 D9 */ bl lbl_80007380
/* 801180AC 00113EEC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801180B0 00113EF0 7C 08 03 A6 */ mtlr r0
/* 801180B4 00113EF4 38 21 00 30 */ addi r1, r1, 0x30
/* 801180B8 00113EF8 4E 80 00 20 */ blr
/* 801180BC 00113EFC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetLoopEndToZeroBuffer__Q44nw4r3snd6detail10StrmPlayerFi
SetLoopEndToZeroBuffer__Q44nw4r3snd6detail10StrmPlayerFi:
2022-10-16 16:05:58 +00:00
/* 801180C0 00113F00 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801180C4 00113F04 7C 08 02 A6 */ mflr r0
/* 801180C8 00113F08 90 01 00 34 */ stw r0, 0x34(r1)
/* 801180CC 00113F0C 39 61 00 30 */ addi r11, r1, 0x30
/* 801180D0 00113F10 4B EE F2 65 */ bl lbl_80007334
/* 801180D4 00113F14 7C 7E 1B 78 */ mr r30, r3
/* 801180D8 00113F18 7C 9F 23 78 */ mr r31, r4
2022-10-16 16:31:36 +00:00
/* 801180DC 00113F1C 4B F0 97 45 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801180E0 00113F20 7C 7D 1B 78 */ mr r29, r3
/* 801180E4 00113F24 3B 9E 0B 58 */ addi r28, r30, 0xb58
/* 801180E8 00113F28 3B 60 00 00 */ li r27, 0x0
/* 801180EC 00113F2C 48 00 00 90 */ b lbl_8011817C
.global lbl_801180F0
lbl_801180F0:
/* 801180F0 00113F30 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 801180F4 00113F34 2C 00 00 00 */ cmpwi r0, 0x0
/* 801180F8 00113F38 41 82 00 7C */ beq lbl_80118174
/* 801180FC 00113F3C 83 5C 00 04 */ lwz r26, 0x4(r28)
/* 80118100 00113F40 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80118104 00113F44 41 82 00 70 */ beq lbl_80118174
/* 80118108 00113F48 3B 20 00 00 */ li r25, 0x0
/* 8011810C 00113F4C 48 00 00 5C */ b lbl_80118168
.global lbl_80118110
lbl_80118110:
/* 80118110 00113F50 2C 19 00 02 */ cmpwi r25, 0x2
/* 80118114 00113F54 41 80 00 0C */ blt lbl_80118120
/* 80118118 00113F58 38 A0 00 00 */ li r5, 0x0
/* 8011811C 00113F5C 48 00 00 28 */ b lbl_80118144
.global lbl_80118120
lbl_80118120:
/* 80118120 00113F60 7C 7C CA 14 */ add r3, r28, r25
/* 80118124 00113F64 88 03 00 10 */ lbz r0, 0x10(r3)
/* 80118128 00113F68 2C 00 00 10 */ cmpwi r0, 0x10
/* 8011812C 00113F6C 41 80 00 0C */ blt lbl_80118138
/* 80118130 00113F70 38 A0 00 00 */ li r5, 0x0
/* 80118134 00113F74 48 00 00 10 */ b lbl_80118144
.global lbl_80118138
lbl_80118138:
/* 80118138 00113F78 1C 00 00 34 */ mulli r0, r0, 0x34
/* 8011813C 00113F7C 7C 7E 02 14 */ add r3, r30, r0
/* 80118140 00113F80 38 A3 08 18 */ addi r5, r3, 0x818
.global lbl_80118144
lbl_80118144:
/* 80118144 00113F84 80 1E 00 E8 */ lwz r0, 0xe8(r30)
/* 80118148 00113F88 7F 43 D3 78 */ mr r3, r26
/* 8011814C 00113F8C 80 DE 00 F0 */ lwz r6, 0xf0(r30)
/* 80118150 00113F90 7F 24 CB 78 */ mr r4, r25
/* 80118154 00113F94 7C 1F 01 D6 */ mullw r0, r31, r0
/* 80118158 00113F98 80 A5 00 00 */ lwz r5, 0x0(r5)
/* 8011815C 00113F9C 7C C6 02 14 */ add r6, r6, r0
2022-10-16 16:31:36 +00:00
/* 80118160 00113FA0 48 00 30 11 */ bl StopAtPoint__Q44nw4r3snd6detail5VoiceFiPCvUl
2022-10-16 16:05:58 +00:00
/* 80118164 00113FA4 3B 39 00 01 */ addi r25, r25, 0x1
.global lbl_80118168
lbl_80118168:
/* 80118168 00113FA8 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 8011816C 00113FAC 7C 19 00 00 */ cmpw r25, r0
/* 80118170 00113FB0 41 80 FF A0 */ blt lbl_80118110
.global lbl_80118174
lbl_80118174:
/* 80118174 00113FB4 3B 9C 00 38 */ addi r28, r28, 0x38
/* 80118178 00113FB8 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_8011817C
lbl_8011817C:
/* 8011817C 00113FBC 80 1E 08 0C */ lwz r0, 0x80c(r30)
/* 80118180 00113FC0 7C 1B 00 00 */ cmpw r27, r0
/* 80118184 00113FC4 41 80 FF 6C */ blt lbl_801180F0
/* 80118188 00113FC8 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 8011818C 00113FCC 4B F0 96 D5 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80118190 00113FD0 38 00 00 01 */ li r0, 0x1
/* 80118194 00113FD4 98 1E 01 0D */ stb r0, 0x10d(r30)
/* 80118198 00113FD8 39 61 00 30 */ addi r11, r1, 0x30
/* 8011819C 00113FDC 4B EE F1 E5 */ bl lbl_80007380
/* 801181A0 00113FE0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801181A4 00113FE4 7C 08 03 A6 */ mtlr r0
/* 801181A8 00113FE8 38 21 00 30 */ addi r1, r1, 0x30
/* 801181AC 00113FEC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global UpdateLoadingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv
UpdateLoadingBlockIndex__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 801181B0 00113FF0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801181B4 00113FF4 7C 08 02 A6 */ mflr r0
/* 801181B8 00113FF8 90 01 00 34 */ stw r0, 0x34(r1)
/* 801181BC 00113FFC 39 61 00 30 */ addi r11, r1, 0x30
/* 801181C0 00114000 4B EE F1 79 */ bl lbl_80007338
/* 801181C4 00114004 88 03 01 0E */ lbz r0, 0x10e(r3)
/* 801181C8 00114008 7C 7D 1B 78 */ mr r29, r3
/* 801181CC 0011400C 80 83 01 48 */ lwz r4, 0x148(r3)
/* 801181D0 00114010 2C 00 00 00 */ cmpwi r0, 0x0
/* 801181D4 00114014 38 04 00 01 */ addi r0, r4, 0x1
/* 801181D8 00114018 90 03 01 48 */ stw r0, 0x148(r3)
/* 801181DC 0011401C 40 82 01 E8 */ bne lbl_801183C4
/* 801181E0 00114020 80 83 00 E0 */ lwz r4, 0xe0(r3)
/* 801181E4 00114024 81 03 01 30 */ lwz r8, 0x130(r3)
/* 801181E8 00114028 38 04 FF FF */ addi r0, r4, -0x1
/* 801181EC 0011402C 7C 08 00 00 */ cmpw r8, r0
/* 801181F0 00114030 40 80 00 0C */ bge lbl_801181FC
/* 801181F4 00114034 83 E3 00 E4 */ lwz r31, 0xe4(r3)
/* 801181F8 00114038 48 00 00 08 */ b lbl_80118200
.global lbl_801181FC
lbl_801181FC:
/* 801181FC 0011403C 83 E3 00 F4 */ lwz r31, 0xf4(r3)
.global lbl_80118200
lbl_80118200:
/* 80118200 00114040 80 83 00 E4 */ lwz r4, 0xe4(r3)
/* 80118204 00114044 3B C0 00 00 */ li r30, 0x0
/* 80118208 00114048 80 03 00 C8 */ lwz r0, 0xc8(r3)
/* 8011820C 0011404C A0 E3 00 D0 */ lhz r7, 0xd0(r3)
/* 80118210 00114050 7C 84 01 D6 */ mullw r4, r4, r0
/* 80118214 00114054 80 03 01 2C */ lwz r0, 0x12c(r3)
/* 80118218 00114058 80 C3 08 10 */ lwz r6, 0x810(r3)
/* 8011821C 0011405C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80118220 00114060 80 A3 00 DC */ lwz r5, 0xdc(r3)
/* 80118224 00114064 7C 07 22 14 */ add r0, r7, r4
/* 80118228 00114068 7C 9F 31 D6 */ mullw r4, r31, r6
/* 8011822C 0011406C 7C 08 01 D6 */ mullw r0, r8, r0
/* 80118230 00114070 7F 67 22 14 */ add r27, r7, r4
/* 80118234 00114074 7F 45 02 14 */ add r26, r5, r0
/* 80118238 00114078 40 82 00 14 */ bne lbl_8011824C
/* 8011823C 0011407C 80 03 00 C0 */ lwz r0, 0xc0(r3)
/* 80118240 00114080 2C 00 00 03 */ cmpwi r0, 0x3
/* 80118244 00114084 40 82 00 08 */ bne lbl_8011824C
/* 80118248 00114088 3B C0 00 01 */ li r30, 0x1
.global lbl_8011824C
lbl_8011824C:
/* 8011824C 0011408C 38 63 01 80 */ addi r3, r3, 0x180
2022-10-16 16:31:36 +00:00
/* 80118250 00114090 4B FF 18 E1 */ bl AllocImpl__Q44nw4r3snd6detail8PoolImplFv
2022-10-16 16:05:58 +00:00
/* 80118254 00114094 2C 03 00 00 */ cmpwi r3, 0x0
/* 80118258 00114098 40 82 00 0C */ bne lbl_80118264
/* 8011825C 0011409C 3B 80 00 00 */ li r28, 0x0
/* 80118260 001140A0 48 00 00 50 */ b lbl_801182B0
.global lbl_80118264
lbl_80118264:
/* 80118264 001140A4 7C 7C 1B 78 */ mr r28, r3
/* 80118268 001140A8 41 82 00 48 */ beq lbl_801182B0
/* 8011826C 001140AC 38 A0 00 00 */ li r5, 0x0
/* 80118270 001140B0 90 A3 00 04 */ stw r5, 0x4(r3)
2022-10-16 16:31:36 +00:00
/* 80118274 001140B4 3C 80 80 44 */ lis r4, __vt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTask@ha
2022-10-16 16:05:58 +00:00
/* 80118278 001140B8 38 00 FF FF */ li r0, -0x1
/* 8011827C 001140BC 90 A3 00 08 */ stw r5, 0x8(r3)
2022-10-16 16:31:36 +00:00
/* 80118280 001140C0 38 84 25 70 */ addi r4, r4, __vt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTask@l
2022-10-16 16:05:58 +00:00
/* 80118284 001140C4 98 A3 00 0C */ stb r5, 0xc(r3)
/* 80118288 001140C8 90 83 00 00 */ stw r4, 0x0(r3)
/* 8011828C 001140CC 90 A3 00 10 */ stw r5, 0x10(r3)
/* 80118290 001140D0 90 A3 00 14 */ stw r5, 0x14(r3)
/* 80118294 001140D4 90 A3 00 18 */ stw r5, 0x18(r3)
/* 80118298 001140D8 90 A3 00 1C */ stw r5, 0x1c(r3)
/* 8011829C 001140DC 90 A3 00 20 */ stw r5, 0x20(r3)
/* 801182A0 001140E0 90 03 00 24 */ stw r0, 0x24(r3)
/* 801182A4 001140E4 98 A3 00 28 */ stb r5, 0x28(r3)
/* 801182A8 001140E8 90 A3 00 2C */ stw r5, 0x2c(r3)
/* 801182AC 001140EC 90 A3 00 30 */ stw r5, 0x30(r3)
.global lbl_801182B0
lbl_801182B0:
/* 801182B0 001140F0 93 BC 00 10 */ stw r29, 0x10(r28)
/* 801182B4 001140F4 80 1D 08 08 */ lwz r0, 0x808(r29)
/* 801182B8 001140F8 90 1C 00 14 */ stw r0, 0x14(r28)
/* 801182BC 001140FC 93 7C 00 18 */ stw r27, 0x18(r28)
/* 801182C0 00114100 93 5C 00 1C */ stw r26, 0x1c(r28)
/* 801182C4 00114104 93 FC 00 20 */ stw r31, 0x20(r28)
/* 801182C8 00114108 80 1D 01 2C */ lwz r0, 0x12c(r29)
/* 801182CC 0011410C 90 1C 00 24 */ stw r0, 0x24(r28)
/* 801182D0 00114110 9B DC 00 28 */ stb r30, 0x28(r28)
2022-10-16 16:31:36 +00:00
/* 801182D4 00114114 4B F0 95 4D */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801182D8 00114118 38 1D 01 78 */ addi r0, r29, 0x178
/* 801182DC 0011411C 90 01 00 08 */ stw r0, 0x8(r1)
/* 801182E0 00114120 7C 7E 1B 78 */ mr r30, r3
/* 801182E4 00114124 38 7D 01 74 */ addi r3, r29, 0x174
/* 801182E8 00114128 38 81 00 08 */ addi r4, r1, 0x8
/* 801182EC 0011412C 38 BC 00 2C */ addi r5, r28, 0x2c
2022-10-16 16:31:36 +00:00
/* 801182F0 00114130 48 00 7A C1 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
2022-10-16 16:05:58 +00:00
/* 801182F4 00114134 88 1D 01 02 */ lbz r0, 0x102(r29)
/* 801182F8 00114138 3B E0 00 01 */ li r31, 0x1
/* 801182FC 0011413C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80118300 00114140 41 82 00 08 */ beq lbl_80118308
/* 80118304 00114144 3B E0 00 02 */ li r31, 0x2
.global lbl_80118308
lbl_80118308:
2022-10-16 16:31:36 +00:00
/* 80118308 00114148 48 00 0F 59 */ bl GetInstance__Q44nw4r3snd6detail11TaskManagerFv
2022-10-16 16:05:58 +00:00
/* 8011830C 0011414C 7F 84 E3 78 */ mr r4, r28
/* 80118310 00114150 7F E5 FB 78 */ mr r5, r31
2022-10-16 16:31:36 +00:00
/* 80118314 00114154 48 00 10 7D */ bl AppendTask__Q44nw4r3snd6detail11TaskManagerFPQ44nw4r3snd6detail4TaskQ54nw4r3snd6detail11TaskManager12TaskPriority
2022-10-16 16:05:58 +00:00
/* 80118318 00114158 80 7D 01 30 */ lwz r3, 0x130(r29)
/* 8011831C 0011415C 80 1D 01 44 */ lwz r0, 0x144(r29)
/* 80118320 00114160 38 63 00 01 */ addi r3, r3, 0x1
/* 80118324 00114164 90 7D 01 30 */ stw r3, 0x130(r29)
/* 80118328 00114168 7C 03 00 00 */ cmpw r3, r0
/* 8011832C 0011416C 40 81 00 30 */ ble lbl_8011835C
/* 80118330 00114170 88 1D 00 C4 */ lbz r0, 0xc4(r29)
/* 80118334 00114174 2C 00 00 00 */ cmpwi r0, 0x0
/* 80118338 00114178 41 82 00 10 */ beq lbl_80118348
/* 8011833C 0011417C 80 1D 01 40 */ lwz r0, 0x140(r29)
/* 80118340 00114180 90 1D 01 30 */ stw r0, 0x130(r29)
/* 80118344 00114184 48 00 00 18 */ b lbl_8011835C
.global lbl_80118348
lbl_80118348:
/* 80118348 00114188 38 00 00 01 */ li r0, 0x1
/* 8011834C 0011418C 98 1D 01 0E */ stb r0, 0x10e(r29)
/* 80118350 00114190 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 80118354 00114194 4B F0 95 0D */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80118358 00114198 48 00 00 6C */ b lbl_801183C4
.global lbl_8011835C
lbl_8011835C:
/* 8011835C 0011419C 80 7D 01 2C */ lwz r3, 0x12c(r29)
/* 80118360 001141A0 80 1D 01 28 */ lwz r0, 0x128(r29)
/* 80118364 001141A4 38 63 00 01 */ addi r3, r3, 0x1
/* 80118368 001141A8 90 7D 01 2C */ stw r3, 0x12c(r29)
/* 8011836C 001141AC 7C 03 00 00 */ cmpw r3, r0
/* 80118370 001141B0 41 80 00 4C */ blt lbl_801183BC
/* 80118374 001141B4 80 BD 01 44 */ lwz r5, 0x144(r29)
/* 80118378 001141B8 38 80 00 00 */ li r4, 0x0
/* 8011837C 001141BC 80 7D 01 30 */ lwz r3, 0x130(r29)
/* 80118380 001141C0 80 DD 01 24 */ lwz r6, 0x124(r29)
/* 80118384 001141C4 80 1D 01 40 */ lwz r0, 0x140(r29)
/* 80118388 001141C8 7C 63 28 50 */ subf r3, r3, r5
/* 8011838C 001141CC 90 9D 01 2C */ stw r4, 0x12c(r29)
/* 80118390 001141D0 38 83 00 01 */ addi r4, r3, 0x1
/* 80118394 001141D4 38 E6 00 01 */ addi r7, r6, 0x1
/* 80118398 001141D8 7C 60 28 50 */ subf r3, r0, r5
/* 8011839C 001141DC 7C 84 38 50 */ subf r4, r4, r7
/* 801183A0 001141E0 38 63 00 01 */ addi r3, r3, 0x1
/* 801183A4 001141E4 7C 04 1B D6 */ divw r0, r4, r3
/* 801183A8 001141E8 7C 00 19 D6 */ mullw r0, r0, r3
/* 801183AC 001141EC 7C 00 20 51 */ subf. r0, r0, r4
/* 801183B0 001141F0 40 82 00 08 */ bne lbl_801183B8
/* 801183B4 001141F4 7C E6 3B 78 */ mr r6, r7
.global lbl_801183B8
lbl_801183B8:
/* 801183B8 001141F8 90 DD 01 28 */ stw r6, 0x128(r29)
.global lbl_801183BC
lbl_801183BC:
/* 801183BC 001141FC 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 801183C0 00114200 4B F0 94 A1 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
.global lbl_801183C4
lbl_801183C4:
/* 801183C4 00114204 39 61 00 30 */ addi r11, r1, 0x30
/* 801183C8 00114208 4B EE EF BD */ bl lbl_80007384
/* 801183CC 0011420C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801183D0 00114210 7C 08 03 A6 */ mtlr r0
/* 801183D4 00114214 38 21 00 30 */ addi r1, r1, 0x30
/* 801183D8 00114218 4E 80 00 20 */ blr
/* 801183DC 0011421C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv
UpdatePauseStatus__Q44nw4r3snd6detail10StrmPlayerFv:
2022-10-16 16:05:58 +00:00
/* 801183E0 00114220 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801183E4 00114224 7C 08 02 A6 */ mflr r0
/* 801183E8 00114228 90 01 00 24 */ stw r0, 0x24(r1)
/* 801183EC 0011422C 39 61 00 20 */ addi r11, r1, 0x20
/* 801183F0 00114230 4B EE EF 4D */ bl lbl_8000733C
/* 801183F4 00114234 7C 7B 1B 78 */ mr r27, r3
2022-10-16 16:31:36 +00:00
/* 801183F8 00114238 4B F0 94 29 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801183FC 0011423C 88 1B 01 07 */ lbz r0, 0x107(r27)
/* 80118400 00114240 7C 7F 1B 78 */ mr r31, r3
/* 80118404 00114244 3B A0 00 00 */ li r29, 0x0
/* 80118408 00114248 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011840C 0011424C 41 82 00 08 */ beq lbl_80118414
/* 80118410 00114250 3B A0 00 01 */ li r29, 0x1
.global lbl_80118414
lbl_80118414:
/* 80118414 00114254 88 1B 01 09 */ lbz r0, 0x109(r27)
/* 80118418 00114258 2C 00 00 00 */ cmpwi r0, 0x0
/* 8011841C 0011425C 41 82 00 08 */ beq lbl_80118424
/* 80118420 00114260 3B A0 00 01 */ li r29, 0x1
.global lbl_80118424
lbl_80118424:
/* 80118424 00114264 88 1B 01 08 */ lbz r0, 0x108(r27)
/* 80118428 00114268 7C 1D 00 40 */ cmplw r29, r0
/* 8011842C 0011426C 41 82 00 48 */ beq lbl_80118474
/* 80118430 00114270 7F 7E DB 78 */ mr r30, r27
/* 80118434 00114274 3B 80 00 00 */ li r28, 0x0
/* 80118438 00114278 48 00 00 2C */ b lbl_80118464
.global lbl_8011843C
lbl_8011843C:
/* 8011843C 0011427C 88 1E 0B 58 */ lbz r0, 0xb58(r30)
/* 80118440 00114280 2C 00 00 00 */ cmpwi r0, 0x0
/* 80118444 00114284 41 82 00 18 */ beq lbl_8011845C
/* 80118448 00114288 80 7E 0B 5C */ lwz r3, 0xb5c(r30)
/* 8011844C 0011428C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80118450 00114290 41 82 00 0C */ beq lbl_8011845C
/* 80118454 00114294 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80118458 00114298 48 00 25 89 */ bl Pause__Q44nw4r3snd6detail5VoiceFb
2022-10-16 16:05:58 +00:00
.global lbl_8011845C
lbl_8011845C:
/* 8011845C 0011429C 3B DE 00 38 */ addi r30, r30, 0x38
/* 80118460 001142A0 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80118464
lbl_80118464:
/* 80118464 001142A4 80 1B 08 0C */ lwz r0, 0x80c(r27)
/* 80118468 001142A8 7C 1C 00 00 */ cmpw r28, r0
/* 8011846C 001142AC 41 80 FF D0 */ blt lbl_8011843C
/* 80118470 001142B0 9B BB 01 08 */ stb r29, 0x108(r27)
.global lbl_80118474
lbl_80118474:
/* 80118474 001142B4 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80118478 001142B8 4B F0 93 E9 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 8011847C 001142BC 39 61 00 20 */ addi r11, r1, 0x20
/* 80118480 001142C0 4B EE EF 09 */ bl lbl_80007388
/* 80118484 001142C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80118488 001142C8 7C 08 03 A6 */ mtlr r0
/* 8011848C 001142CC 38 21 00 20 */ addi r1, r1, 0x20
/* 80118490 001142D0 4E 80 00 20 */ blr
/* 80118494 001142D4 00 00 00 00 */ .4byte 0x00000000
/* 80118498 001142D8 00 00 00 00 */ .4byte 0x00000000
/* 8011849C 001142DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global CalcStartOffset__Q44nw4r3snd6detail10StrmPlayerFPlPUlPl
CalcStartOffset__Q44nw4r3snd6detail10StrmPlayerFPlPUlPl:
2022-10-16 16:05:58 +00:00
/* 801184A0 001142E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801184A4 001142E4 7C 08 02 A6 */ mflr r0
/* 801184A8 001142E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801184AC 001142EC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801184B0 001142F0 7C BF 2B 78 */ mr r31, r5
/* 801184B4 001142F4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801184B8 001142F8 7C 9E 23 78 */ mr r30, r4
/* 801184BC 001142FC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801184C0 00114300 7C 7D 1B 78 */ mr r29, r3
/* 801184C4 00114304 93 81 00 10 */ stw r28, 0x10(r1)
/* 801184C8 00114308 7C DC 33 78 */ mr r28, r6
/* 801184CC 0011430C 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 801184D0 00114310 2C 00 00 00 */ cmpwi r0, 0x0
/* 801184D4 00114314 40 82 00 0C */ bne lbl_801184E0
/* 801184D8 00114318 38 60 00 00 */ li r3, 0x0
/* 801184DC 0011431C 48 00 00 B0 */ b lbl_8011858C
.global lbl_801184E0
lbl_801184E0:
/* 801184E0 00114320 80 03 01 4C */ lwz r0, 0x14c(r3)
/* 801184E4 00114324 2C 00 00 00 */ cmpwi r0, 0x0
/* 801184E8 00114328 40 82 00 0C */ bne lbl_801184F4
/* 801184EC 0011432C 80 83 01 50 */ lwz r4, 0x150(r3)
/* 801184F0 00114330 48 00 00 28 */ b lbl_80118518
.global lbl_801184F4
lbl_801184F4:
/* 801184F4 00114334 2C 00 00 01 */ cmpwi r0, 0x1
/* 801184F8 00114338 40 82 00 20 */ bne lbl_80118518
/* 801184FC 0011433C 80 E3 01 50 */ lwz r7, 0x150(r3)
/* 80118500 00114340 38 C0 03 E8 */ li r6, 0x3e8
/* 80118504 00114344 80 03 00 CC */ lwz r0, 0xcc(r3)
/* 80118508 00114348 38 A0 00 00 */ li r5, 0x0
/* 8011850C 0011434C 7C 87 01 D6 */ mullw r4, r7, r0
/* 80118510 00114350 7C 67 00 96 */ mulhw r3, r7, r0
2022-10-16 16:31:36 +00:00
/* 80118514 00114354 4B EE EF 79 */ bl __div2i
2022-10-16 16:05:58 +00:00
.global lbl_80118518
lbl_80118518:
/* 80118518 00114358 38 00 00 00 */ li r0, 0x0
/* 8011851C 0011435C 90 1C 00 00 */ stw r0, 0x0(r28)
/* 80118520 00114360 80 7D 00 D8 */ lwz r3, 0xd8(r29)
/* 80118524 00114364 7C 04 18 40 */ cmplw r4, r3
/* 80118528 00114368 41 80 00 40 */ blt lbl_80118568
/* 8011852C 0011436C 88 1D 00 C4 */ lbz r0, 0xc4(r29)
/* 80118530 00114370 2C 00 00 00 */ cmpwi r0, 0x0
/* 80118534 00114374 41 82 00 2C */ beq lbl_80118560
/* 80118538 00114378 80 BD 00 D4 */ lwz r5, 0xd4(r29)
/* 8011853C 0011437C 7C 83 20 50 */ subf r4, r3, r4
/* 80118540 00114380 7C 05 18 50 */ subf r0, r5, r3
/* 80118544 00114384 7C 64 03 D6 */ divw r3, r4, r0
/* 80118548 00114388 7C 03 01 D6 */ mullw r0, r3, r0
/* 8011854C 0011438C 38 63 00 01 */ addi r3, r3, 0x1
/* 80118550 00114390 90 7C 00 00 */ stw r3, 0x0(r28)
/* 80118554 00114394 7C 00 20 50 */ subf r0, r0, r4
/* 80118558 00114398 7C 85 02 14 */ add r4, r5, r0
/* 8011855C 0011439C 48 00 00 0C */ b lbl_80118568
.global lbl_80118560
lbl_80118560:
/* 80118560 001143A0 38 60 00 00 */ li r3, 0x0
/* 80118564 001143A4 48 00 00 28 */ b lbl_8011858C
.global lbl_80118568
lbl_80118568:
/* 80118568 001143A8 80 1D 00 E8 */ lwz r0, 0xe8(r29)
/* 8011856C 001143AC 38 60 00 01 */ li r3, 0x1
/* 80118570 001143B0 7C 04 03 D6 */ divw r0, r4, r0
/* 80118574 001143B4 90 1E 00 00 */ stw r0, 0x0(r30)
/* 80118578 001143B8 80 BD 00 E8 */ lwz r5, 0xe8(r29)
/* 8011857C 001143BC 7C 04 2B 96 */ divwu r0, r4, r5
/* 80118580 001143C0 7C 00 29 D6 */ mullw r0, r0, r5
/* 80118584 001143C4 7C 00 20 50 */ subf r0, r0, r4
/* 80118588 001143C8 90 1F 00 00 */ stw r0, 0x0(r31)
.global lbl_8011858C
lbl_8011858C:
/* 8011858C 001143CC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80118590 001143D0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80118594 001143D4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80118598 001143D8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8011859C 001143DC 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801185A0 001143E0 7C 08 03 A6 */ mtlr r0
/* 801185A4 001143E4 38 21 00 20 */ addi r1, r1, 0x20
/* 801185A8 001143E8 4E 80 00 20 */ blr
/* 801185AC 001143EC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global VoiceCallbackFunc__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail5VoiceQ54nw4r3snd6detail5Voice19VoiceCallbackStatusPv
VoiceCallbackFunc__Q44nw4r3snd6detail10StrmPlayerFPQ44nw4r3snd6detail5VoiceQ54nw4r3snd6detail5Voice19VoiceCallbackStatusPv:
2022-10-16 16:05:58 +00:00
/* 801185B0 001143F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801185B4 001143F4 7C 08 02 A6 */ mflr r0
/* 801185B8 001143F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801185BC 001143FC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801185C0 00114400 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801185C4 00114404 7C BE 2B 78 */ mr r30, r5
/* 801185C8 00114408 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801185CC 0011440C 7C 9D 23 78 */ mr r29, r4
/* 801185D0 00114410 93 81 00 10 */ stw r28, 0x10(r1)
/* 801185D4 00114414 7C 7C 1B 78 */ mr r28, r3
2022-10-16 16:31:36 +00:00
/* 801185D8 00114418 4B F0 92 49 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801185DC 0011441C 28 1D 00 01 */ cmplwi r29, 0x1
/* 801185E0 00114420 7C 7F 1B 78 */ mr r31, r3
/* 801185E4 00114424 40 81 00 14 */ ble lbl_801185F8
/* 801185E8 00114428 38 1D FF FE */ addi r0, r29, -0x2
/* 801185EC 0011442C 28 00 00 01 */ cmplwi r0, 0x1
/* 801185F0 00114430 40 81 00 1C */ ble lbl_8011860C
/* 801185F4 00114434 48 00 00 24 */ b lbl_80118618
.global lbl_801185F8
lbl_801185F8:
/* 801185F8 00114438 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 801185FC 0011443C 48 00 20 25 */ bl Free__Q44nw4r3snd6detail5VoiceFv
2022-10-16 16:05:58 +00:00
/* 80118600 00114440 38 00 00 00 */ li r0, 0x0
/* 80118604 00114444 90 1E 00 04 */ stw r0, 0x4(r30)
/* 80118608 00114448 48 00 00 18 */ b lbl_80118620
.global lbl_8011860C
lbl_8011860C:
/* 8011860C 0011444C 38 00 00 00 */ li r0, 0x0
/* 80118610 00114450 90 1E 00 04 */ stw r0, 0x4(r30)
/* 80118614 00114454 48 00 00 0C */ b lbl_80118620
.global lbl_80118618
lbl_80118618:
2022-10-16 16:31:36 +00:00
/* 80118618 00114458 4B F0 92 49 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 8011861C 0011445C 48 00 00 0C */ b lbl_80118628
.global lbl_80118620
lbl_80118620:
/* 80118620 00114460 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80118624 00114464 4B F0 92 3D */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
.global lbl_80118628
lbl_80118628:
/* 80118628 00114468 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8011862C 0011446C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80118630 00114470 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80118634 00114474 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80118638 00114478 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8011863C 0011447C 7C 08 03 A6 */ mtlr r0
/* 80118640 00114480 38 21 00 20 */ addi r1, r1, 0x20
/* 80118644 00114484 4E 80 00 20 */ blr
/* 80118648 00114488 00 00 00 00 */ .4byte 0x00000000
/* 8011864C 0011448C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetTrackVolume__Q44nw4r3snd6detail10StrmPlayerFUlf
SetTrackVolume__Q44nw4r3snd6detail10StrmPlayerFUlf:
2022-10-16 16:05:58 +00:00
/* 80118650 00114490 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80118654 00114494 7C 08 02 A6 */ mflr r0
/* 80118658 00114498 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011865C 0011449C DB E1 00 18 */ stfd f31, 0x18(r1)
/* 80118660 001144A0 FF E0 08 90 */ fmr f31, f1
/* 80118664 001144A4 93 E1 00 14 */ stw r31, 0x14(r1)
/* 80118668 001144A8 7C 9F 23 78 */ mr r31, r4
/* 8011866C 001144AC 93 C1 00 10 */ stw r30, 0x10(r1)
/* 80118670 001144B0 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 80118674 001144B4 4B F0 91 AD */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80118678 001144B8 7F C4 F3 78 */ mr r4, r30
/* 8011867C 001144BC 38 A0 00 00 */ li r5, 0x0
/* 80118680 001144C0 48 00 00 20 */ b lbl_801186A0
/* 80118684 001144C4 60 00 00 00 */ nop
.global lbl_80118688
lbl_80118688:
/* 80118688 001144C8 57 E0 07 FF */ clrlwi. r0, r31, 31
/* 8011868C 001144CC 41 82 00 08 */ beq lbl_80118694
/* 80118690 001144D0 D3 E4 0B 88 */ stfs f31, 0xb88(r4)
.global lbl_80118694
lbl_80118694:
/* 80118694 001144D4 57 FF F8 7E */ srwi r31, r31, 1
/* 80118698 001144D8 38 84 00 38 */ addi r4, r4, 0x38
/* 8011869C 001144DC 38 A5 00 01 */ addi r5, r5, 0x1
.global lbl_801186A0
lbl_801186A0:
/* 801186A0 001144E0 80 1E 08 0C */ lwz r0, 0x80c(r30)
/* 801186A4 001144E4 7C 05 00 00 */ cmpw r5, r0
/* 801186A8 001144E8 40 80 00 0C */ bge lbl_801186B4
/* 801186AC 001144EC 2C 1F 00 00 */ cmpwi r31, 0x0
/* 801186B0 001144F0 40 82 FF D8 */ bne lbl_80118688
.global lbl_801186B4
lbl_801186B4:
2022-10-16 16:31:36 +00:00
/* 801186B4 001144F4 4B F0 91 AD */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 801186B8 001144F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801186BC 001144FC CB E1 00 18 */ lfd f31, 0x18(r1)
/* 801186C0 00114500 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 801186C4 00114504 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 801186C8 00114508 7C 08 03 A6 */ mtlr r0
/* 801186CC 0011450C 38 21 00 20 */ addi r1, r1, 0x20
/* 801186D0 00114510 4E 80 00 20 */ blr
/* 801186D4 00114514 00 00 00 00 */ .4byte 0x00000000
/* 801186D8 00114518 00 00 00 00 */ .4byte 0x00000000
/* 801186DC 0011451C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetPlayerTrack__Q44nw4r3snd6detail10StrmPlayerFi
GetPlayerTrack__Q44nw4r3snd6detail10StrmPlayerFi:
2022-10-16 16:05:58 +00:00
/* 801186E0 00114520 2C 04 00 07 */ cmpwi r4, 0x7
/* 801186E4 00114524 40 81 00 0C */ ble lbl_801186F0
/* 801186E8 00114528 38 60 00 00 */ li r3, 0x0
/* 801186EC 0011452C 4E 80 00 20 */ blr
.global lbl_801186F0
lbl_801186F0:
/* 801186F0 00114530 1C 04 00 38 */ mulli r0, r4, 0x38
/* 801186F4 00114534 7C 63 02 14 */ add r3, r3, r0
/* 801186F8 00114538 38 63 0B 58 */ addi r3, r3, 0xb58
/* 801186FC 0011453C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Execute__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv
Execute__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv:
2022-10-16 16:05:58 +00:00
/* 80118700 00114540 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80118704 00114544 7C 08 02 A6 */ mflr r0
/* 80118708 00114548 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011870C 0011454C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80118710 00114550 7C 7F 1B 78 */ mr r31, r3
/* 80118714 00114554 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80118718 00114558 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 8011871C 0011455C 80 BF 00 18 */ lwz r5, 0x18(r31)
/* 80118720 00114560 80 DF 00 1C */ lwz r6, 0x1c(r31)
2022-10-16 16:31:36 +00:00
/* 80118724 00114564 4B FF E5 FD */ bl LoadHeader__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamQ54nw4r3snd6detail10StrmPlayer15StartOffsetTypei
2022-10-16 16:05:58 +00:00
/* 80118728 00114568 2C 03 00 00 */ cmpwi r3, 0x0
/* 8011872C 0011456C 40 82 00 10 */ bne lbl_8011873C
/* 80118730 00114570 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80118734 00114574 38 00 00 01 */ li r0, 0x1
/* 80118738 00114578 98 03 01 04 */ stb r0, 0x104(r3)
.global lbl_8011873C
lbl_8011873C:
/* 8011873C 0011457C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80118740 00114580 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80118744 00114584 7C 08 03 A6 */ mtlr r0
/* 80118748 00114588 38 21 00 10 */ addi r1, r1, 0x10
/* 8011874C 0011458C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Cancel__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv
Cancel__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv:
2022-10-16 16:05:58 +00:00
/* 80118750 00114590 4E 80 00 20 */ blr
/* 80118754 00114594 00 00 00 00 */ .4byte 0x00000000
/* 80118758 00114598 00 00 00 00 */ .4byte 0x00000000
/* 8011875C 0011459C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global OnCancel__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv
OnCancel__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv:
2022-10-16 16:05:58 +00:00
/* 80118760 001145A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80118764 001145A4 7C 08 02 A6 */ mflr r0
/* 80118768 001145A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8011876C 001145AC 38 00 00 01 */ li r0, 0x1
/* 80118770 001145B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80118774 001145B4 7C 7F 1B 78 */ mr r31, r3
/* 80118778 001145B8 80 83 00 10 */ lwz r4, 0x10(r3)
/* 8011877C 001145BC 98 04 01 05 */ stb r0, 0x105(r4)
/* 80118780 001145C0 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80118784 001145C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80118788 001145C8 41 82 00 6C */ beq lbl_801187F4
/* 8011878C 001145CC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80118790 001145D0 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 80118794 001145D4 7D 89 03 A6 */ mtctr r12
/* 80118798 001145D8 4E 80 04 21 */ bctrl
/* 8011879C 001145DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 801187A0 001145E0 41 82 00 54 */ beq lbl_801187F4
/* 801187A4 001145E4 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 801187A8 001145E8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801187AC 001145EC 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 801187B0 001145F0 7D 89 03 A6 */ mtctr r12
/* 801187B4 001145F4 4E 80 04 21 */ bctrl
/* 801187B8 001145F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 801187BC 001145FC 41 82 00 24 */ beq lbl_801187E0
/* 801187C0 00114600 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 801187C4 00114604 38 80 00 00 */ li r4, 0x0
/* 801187C8 00114608 38 A0 00 00 */ li r5, 0x0
/* 801187CC 0011460C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801187D0 00114610 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 801187D4 00114614 7D 89 03 A6 */ mtctr r12
/* 801187D8 00114618 4E 80 04 21 */ bctrl
/* 801187DC 0011461C 48 00 00 18 */ b lbl_801187F4
.global lbl_801187E0
lbl_801187E0:
/* 801187E0 00114620 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 801187E4 00114624 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801187E8 00114628 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 801187EC 0011462C 7D 89 03 A6 */ mtctr r12
/* 801187F0 00114630 4E 80 04 21 */ bctrl
.global lbl_801187F4
lbl_801187F4:
/* 801187F4 00114634 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801187F8 00114638 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801187FC 0011463C 7C 08 03 A6 */ mtlr r0
/* 80118800 00114640 38 21 00 10 */ addi r1, r1, 0x10
/* 80118804 00114644 4E 80 00 20 */ blr
/* 80118808 00114648 00 00 00 00 */ .4byte 0x00000000
/* 8011880C 0011464C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __ct__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv
__ct__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv:
/* 80118810 00114650 3C 80 80 44 */ lis r4, __vt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTask@ha
2022-10-16 16:05:58 +00:00
/* 80118814 00114654 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 80118818 00114658 38 84 25 70 */ addi r4, r4, __vt__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTask@l
2022-10-16 16:05:58 +00:00
/* 8011881C 0011465C 38 00 FF FF */ li r0, -0x1
/* 80118820 00114660 90 A3 00 04 */ stw r5, 0x4(r3)
/* 80118824 00114664 90 A3 00 08 */ stw r5, 0x8(r3)
/* 80118828 00114668 98 A3 00 0C */ stb r5, 0xc(r3)
/* 8011882C 0011466C 90 83 00 00 */ stw r4, 0x0(r3)
/* 80118830 00114670 90 A3 00 10 */ stw r5, 0x10(r3)
/* 80118834 00114674 90 A3 00 14 */ stw r5, 0x14(r3)
/* 80118838 00114678 90 A3 00 18 */ stw r5, 0x18(r3)
/* 8011883C 0011467C 90 A3 00 1C */ stw r5, 0x1c(r3)
/* 80118840 00114680 90 A3 00 20 */ stw r5, 0x20(r3)
/* 80118844 00114684 90 03 00 24 */ stw r0, 0x24(r3)
/* 80118848 00114688 98 A3 00 28 */ stb r5, 0x28(r3)
/* 8011884C 0011468C 90 A3 00 2C */ stw r5, 0x2c(r3)
/* 80118850 00114690 90 A3 00 30 */ stw r5, 0x30(r3)
/* 80118854 00114694 4E 80 00 20 */ blr
/* 80118858 00114698 00 00 00 00 */ .4byte 0x00000000
/* 8011885C 0011469C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Execute__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv
Execute__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv:
2022-10-16 16:05:58 +00:00
/* 80118860 001146A0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80118864 001146A4 7C 08 02 A6 */ mflr r0
/* 80118868 001146A8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011886C 001146AC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80118870 001146B0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80118874 001146B4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80118878 001146B8 7C 7D 1B 78 */ mr r29, r3
/* 8011887C 001146BC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80118880 001146C0 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80118884 001146C4 80 BD 00 1C */ lwz r5, 0x1c(r29)
/* 80118888 001146C8 80 DD 00 18 */ lwz r6, 0x18(r29)
/* 8011888C 001146CC 80 FD 00 20 */ lwz r7, 0x20(r29)
/* 80118890 001146D0 81 1D 00 24 */ lwz r8, 0x24(r29)
/* 80118894 001146D4 89 3D 00 28 */ lbz r9, 0x28(r29)
2022-10-16 16:31:36 +00:00
/* 80118898 001146D8 4B FF E7 89 */ bl LoadStreamData__Q44nw4r3snd6detail10StrmPlayerFPQ34nw4r2ut10FileStreamiUlUlib
2022-10-16 16:05:58 +00:00
/* 8011889C 001146DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 801188A0 001146E0 40 82 00 10 */ bne lbl_801188B0
/* 801188A4 001146E4 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 801188A8 001146E8 38 00 00 01 */ li r0, 0x1
/* 801188AC 001146EC 98 03 01 04 */ stb r0, 0x104(r3)
.global lbl_801188B0
lbl_801188B0:
2022-10-16 16:31:36 +00:00
/* 801188B0 001146F0 4B F0 8F 71 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 801188B4 001146F4 80 BD 00 10 */ lwz r5, 0x10(r29)
/* 801188B8 001146F8 7C 7F 1B 78 */ mr r31, r3
/* 801188BC 001146FC 38 9D 00 2C */ addi r4, r29, 0x2c
/* 801188C0 00114700 38 65 01 74 */ addi r3, r5, 0x174
2022-10-16 16:31:36 +00:00
/* 801188C4 00114704 48 00 75 1D */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
2022-10-16 16:05:58 +00:00
/* 801188C8 00114708 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 801188CC 0011470C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 801188D0 00114710 3B C3 01 80 */ addi r30, r3, 0x180
/* 801188D4 00114714 41 82 00 28 */ beq lbl_801188FC
/* 801188D8 00114718 81 9D 00 00 */ lwz r12, 0x0(r29)
/* 801188DC 0011471C 7F A3 EB 78 */ mr r3, r29
/* 801188E0 00114720 38 80 FF FF */ li r4, -0x1
/* 801188E4 00114724 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 801188E8 00114728 7D 89 03 A6 */ mtctr r12
/* 801188EC 0011472C 4E 80 04 21 */ bctrl
/* 801188F0 00114730 7F C3 F3 78 */ mr r3, r30
/* 801188F4 00114734 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 801188F8 00114738 4B FF 12 99 */ bl FreeImpl__Q44nw4r3snd6detail8PoolImplFPv
2022-10-16 16:05:58 +00:00
.global lbl_801188FC
lbl_801188FC:
/* 801188FC 0011473C 80 BD 00 10 */ lwz r5, 0x10(r29)
/* 80118900 00114740 7F E3 FB 78 */ mr r3, r31
/* 80118904 00114744 80 85 01 48 */ lwz r4, 0x148(r5)
/* 80118908 00114748 38 04 FF FF */ addi r0, r4, -0x1
/* 8011890C 0011474C 90 05 01 48 */ stw r0, 0x148(r5)
2022-10-16 16:31:36 +00:00
/* 80118910 00114750 4B F0 8F 51 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80118914 00114754 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80118918 00114758 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8011891C 0011475C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80118920 00114760 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80118924 00114764 7C 08 03 A6 */ mtlr r0
/* 80118928 00114768 38 21 00 20 */ addi r1, r1, 0x20
/* 8011892C 0011476C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Cancel__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv
Cancel__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv:
2022-10-16 16:05:58 +00:00
/* 80118930 00114770 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80118934 00114774 7C 08 02 A6 */ mflr r0
/* 80118938 00114778 90 01 00 24 */ stw r0, 0x24(r1)
/* 8011893C 0011477C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80118940 00114780 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80118944 00114784 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80118948 00114788 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 8011894C 0011478C 4B F0 8E D5 */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80118950 00114790 80 BD 00 10 */ lwz r5, 0x10(r29)
/* 80118954 00114794 7C 7F 1B 78 */ mr r31, r3
/* 80118958 00114798 38 9D 00 2C */ addi r4, r29, 0x2c
/* 8011895C 0011479C 38 65 01 74 */ addi r3, r5, 0x174
2022-10-16 16:31:36 +00:00
/* 80118960 001147A0 48 00 74 81 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
2022-10-16 16:05:58 +00:00
/* 80118964 001147A4 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80118968 001147A8 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8011896C 001147AC 3B C3 01 80 */ addi r30, r3, 0x180
/* 80118970 001147B0 41 82 00 28 */ beq lbl_80118998
/* 80118974 001147B4 81 9D 00 00 */ lwz r12, 0x0(r29)
/* 80118978 001147B8 7F A3 EB 78 */ mr r3, r29
/* 8011897C 001147BC 38 80 FF FF */ li r4, -0x1
/* 80118980 001147C0 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 80118984 001147C4 7D 89 03 A6 */ mtctr r12
/* 80118988 001147C8 4E 80 04 21 */ bctrl
/* 8011898C 001147CC 7F C3 F3 78 */ mr r3, r30
/* 80118990 001147D0 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 80118994 001147D4 4B FF 11 FD */ bl FreeImpl__Q44nw4r3snd6detail8PoolImplFPv
2022-10-16 16:05:58 +00:00
.global lbl_80118998
lbl_80118998:
/* 80118998 001147D8 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8011899C 001147DC 4B F0 8E C5 */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 801189A0 001147E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801189A4 001147E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801189A8 001147E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801189AC 001147EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801189B0 001147F0 7C 08 03 A6 */ mtlr r0
/* 801189B4 001147F4 38 21 00 20 */ addi r1, r1, 0x20
/* 801189B8 001147F8 4E 80 00 20 */ blr
/* 801189BC 001147FC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global OnCancel__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv
OnCancel__Q54nw4r3snd6detail10StrmPlayer16StrmDataLoadTaskFv:
/* 801189C0 00114800 4B FF FD A0 */ b OnCancel__Q54nw4r3snd6detail10StrmPlayer18StrmHeaderLoadTaskFv
2022-10-16 16:05:58 +00:00
/* 801189C4 00114804 00 00 00 00 */ .4byte 0x00000000
/* 801189C8 00114808 00 00 00 00 */ .4byte 0x00000000
/* 801189CC 0011480C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global OnUpdateFrameSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
OnUpdateFrameSoundThread__Q44nw4r3snd6detail10StrmPlayerFv:
/* 801189D0 00114810 4B FF EB B0 */ b Update__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 801189D4 00114814 00 00 00 00 */ .4byte 0x00000000
/* 801189D8 00114818 00 00 00 00 */ .4byte 0x00000000
/* 801189DC 0011481C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global OnUpdateVoiceSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
OnUpdateVoiceSoundThread__Q44nw4r3snd6detail10StrmPlayerFv:
/* 801189E0 00114820 4B FF F0 90 */ b UpdateBuffer__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 801189E4 00114824 00 00 00 00 */ .4byte 0x00000000
/* 801189E8 00114828 00 00 00 00 */ .4byte 0x00000000
/* 801189EC 0011482C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global OnShutdownSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
OnShutdownSoundThread__Q44nw4r3snd6detail10StrmPlayerFv:
/* 801189F0 00114830 4B FF 14 10 */ b OnShutdownSoundThread__Q44nw4r3snd6detail9SeqPlayerFv
2022-10-16 16:05:58 +00:00
/* 801189F4 00114834 00 00 00 00 */ .4byte 0x00000000
/* 801189F8 00114838 00 00 00 00 */ .4byte 0x00000000
/* 801189FC 0011483C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IsPause__Q44nw4r3snd6detail10StrmPlayerCFv
IsPause__Q44nw4r3snd6detail10StrmPlayerCFv:
2022-10-16 16:05:58 +00:00
/* 80118A00 00114840 88 63 01 07 */ lbz r3, 0x107(r3)
/* 80118A04 00114844 4E 80 00 20 */ blr
/* 80118A08 00114848 00 00 00 00 */ .4byte 0x00000000
/* 80118A0C 0011484C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IsStarted__Q44nw4r3snd6detail10StrmPlayerCFv
IsStarted__Q44nw4r3snd6detail10StrmPlayerCFv:
2022-10-16 16:05:58 +00:00
/* 80118A10 00114850 88 63 01 02 */ lbz r3, 0x102(r3)
/* 80118A14 00114854 4E 80 00 20 */ blr
/* 80118A18 00114858 00 00 00 00 */ .4byte 0x00000000
/* 80118A1C 0011485C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global IsActive__Q44nw4r3snd6detail10StrmPlayerCFv
IsActive__Q44nw4r3snd6detail10StrmPlayerCFv:
2022-10-16 16:05:58 +00:00
/* 80118A20 00114860 88 63 01 01 */ lbz r3, 0x101(r3)
/* 80118A24 00114864 4E 80 00 20 */ blr
/* 80118A28 00114868 00 00 00 00 */ .4byte 0x00000000
/* 80118A2C 0011486C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "@180@OnShutdownSoundThread__Q44nw4r3snd6detail10StrmPlayerFv"
"@180@OnShutdownSoundThread__Q44nw4r3snd6detail10StrmPlayerFv":
2022-10-16 16:05:58 +00:00
/* 80118A30 00114870 38 63 FF 4C */ addi r3, r3, -0xb4
2022-10-16 16:31:36 +00:00
/* 80118A34 00114874 4B FF FF BC */ b OnShutdownSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80118A38 00114878 00 00 00 00 */ .4byte 0x00000000
/* 80118A3C 0011487C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "@180@OnUpdateVoiceSoundThread__Q44nw4r3snd6detail10StrmPlayerFv"
"@180@OnUpdateVoiceSoundThread__Q44nw4r3snd6detail10StrmPlayerFv":
2022-10-16 16:05:58 +00:00
/* 80118A40 00114880 38 63 FF 4C */ addi r3, r3, -0xb4
2022-10-16 16:31:36 +00:00
/* 80118A44 00114884 4B FF FF 9C */ b OnUpdateVoiceSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80118A48 00114888 00 00 00 00 */ .4byte 0x00000000
/* 80118A4C 0011488C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "@180@OnUpdateFrameSoundThread__Q44nw4r3snd6detail10StrmPlayerFv"
"@180@OnUpdateFrameSoundThread__Q44nw4r3snd6detail10StrmPlayerFv":
2022-10-16 16:05:58 +00:00
/* 80118A50 00114890 38 63 FF 4C */ addi r3, r3, -0xb4
2022-10-16 16:31:36 +00:00
/* 80118A54 00114894 4B FF FF 7C */ b OnUpdateFrameSoundThread__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80118A58 00114898 00 00 00 00 */ .4byte 0x00000000
/* 80118A5C 0011489C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "@180@__dt__Q44nw4r3snd6detail10StrmPlayerFv"
"@180@__dt__Q44nw4r3snd6detail10StrmPlayerFv":
2022-10-16 16:05:58 +00:00
/* 80118A60 001148A0 38 63 FF 4C */ addi r3, r3, -0xb4
2022-10-16 16:31:36 +00:00
/* 80118A64 001148A4 4B FF D6 4C */ b __dt__Q44nw4r3snd6detail10StrmPlayerFv
2022-10-16 16:05:58 +00:00
/* 80118A68 001148A8 00 00 00 00 */ .4byte 0x00000000
/* 80118A6C 001148AC 00 00 00 00 */ .4byte 0x00000000