donut-decomp/asm/libnw4r_snd/snd_SeqTrack.s

1632 lines
78 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 SetPlayerTrackNo__Q44nw4r3snd6detail8SeqTrackFi
SetPlayerTrackNo__Q44nw4r3snd6detail8SeqTrackFi:
2022-10-16 16:05:58 +00:00
/* 8010DF50 00109D90 98 83 00 04 */ stb r4, 0x4(r3)
/* 8010DF54 00109D94 4E 80 00 20 */ blr
/* 8010DF58 00109D98 00 00 00 00 */ .4byte 0x00000000
/* 8010DF5C 00109D9C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global __ct__Q44nw4r3snd6detail8SeqTrackFv
__ct__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010DF60 00109DA0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010DF64 00109DA4 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 8010DF68 00109DA8 3C 80 80 44 */ lis r4, __vt__Q44nw4r3snd6detail8SeqTrack@ha
2022-10-16 16:05:58 +00:00
/* 8010DF6C 00109DAC 90 01 00 14 */ stw r0, 0x14(r1)
2022-10-16 16:31:36 +00:00
/* 8010DF70 00109DB0 38 84 24 30 */ addi r4, r4, __vt__Q44nw4r3snd6detail8SeqTrack@l
2022-10-16 16:05:58 +00:00
/* 8010DF74 00109DB4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010DF78 00109DB8 3B E0 00 00 */ li r31, 0x0
/* 8010DF7C 00109DBC 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010DF80 00109DC0 7C 7E 1B 78 */ mr r30, r3
/* 8010DF84 00109DC4 90 83 00 00 */ stw r4, 0x0(r3)
/* 8010DF88 00109DC8 9B E3 00 05 */ stb r31, 0x5(r3)
/* 8010DF8C 00109DCC 38 63 00 58 */ addi r3, r3, 0x58
2022-10-16 16:31:36 +00:00
/* 8010DF90 00109DD0 4B FF BC 51 */ bl Init__Q44nw4r3snd6detail8LfoParamFv
2022-10-16 16:05:58 +00:00
/* 8010DF94 00109DD4 9B FE 00 70 */ stb r31, 0x70(r30)
/* 8010DF98 00109DD8 7F C3 F3 78 */ mr r3, r30
/* 8010DF9C 00109DDC 9B FE 00 71 */ stb r31, 0x71(r30)
/* 8010DFA0 00109DE0 B3 FE 00 72 */ sth r31, 0x72(r30)
/* 8010DFA4 00109DE4 B3 FE 00 74 */ sth r31, 0x74(r30)
/* 8010DFA8 00109DE8 9B FE 00 76 */ stb r31, 0x76(r30)
/* 8010DFAC 00109DEC 9B FE 00 77 */ stb r31, 0x77(r30)
/* 8010DFB0 00109DF0 B3 FE 00 78 */ sth r31, 0x78(r30)
/* 8010DFB4 00109DF4 B3 FE 00 7A */ sth r31, 0x7a(r30)
/* 8010DFB8 00109DF8 9B FE 00 7C */ stb r31, 0x7c(r30)
/* 8010DFBC 00109DFC 9B FE 00 7D */ stb r31, 0x7d(r30)
/* 8010DFC0 00109E00 B3 FE 00 7E */ sth r31, 0x7e(r30)
/* 8010DFC4 00109E04 B3 FE 00 80 */ sth r31, 0x80(r30)
/* 8010DFC8 00109E08 9B FE 00 82 */ stb r31, 0x82(r30)
/* 8010DFCC 00109E0C 9B FE 00 83 */ stb r31, 0x83(r30)
/* 8010DFD0 00109E10 B3 FE 00 84 */ sth r31, 0x84(r30)
/* 8010DFD4 00109E14 B3 FE 00 86 */ sth r31, 0x86(r30)
/* 8010DFD8 00109E18 93 FE 00 C4 */ stw r31, 0xc4(r30)
/* 8010DFDC 00109E1C 93 FE 00 C8 */ stw r31, 0xc8(r30)
2022-10-16 16:31:36 +00:00
/* 8010DFE0 00109E20 48 00 01 31 */ bl InitParam__Q44nw4r3snd6detail8SeqTrackFv
2022-10-16 16:05:58 +00:00
/* 8010DFE4 00109E24 7F C3 F3 78 */ mr r3, r30
/* 8010DFE8 00109E28 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010DFEC 00109E2C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010DFF0 00109E30 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010DFF4 00109E34 7C 08 03 A6 */ mtlr r0
/* 8010DFF8 00109E38 38 21 00 10 */ addi r1, r1, 0x10
/* 8010DFFC 00109E3C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __dt__Q44nw4r3snd6detail8SeqTrackFv
__dt__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E000 00109E40 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8010E004 00109E44 7C 08 02 A6 */ mflr r0
/* 8010E008 00109E48 2C 03 00 00 */ cmpwi r3, 0x0
/* 8010E00C 00109E4C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010E010 00109E50 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8010E014 00109E54 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8010E018 00109E58 7C 9E 23 78 */ mr r30, r4
/* 8010E01C 00109E5C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010E020 00109E60 7C 7D 1B 78 */ mr r29, r3
/* 8010E024 00109E64 41 82 00 C0 */ beq lbl_8010E0E4
2022-10-16 16:31:36 +00:00
/* 8010E028 00109E68 3C 80 80 44 */ lis r4, __vt__Q44nw4r3snd6detail8SeqTrack@ha
/* 8010E02C 00109E6C 38 84 24 30 */ addi r4, r4, __vt__Q44nw4r3snd6detail8SeqTrack@l
2022-10-16 16:05:58 +00:00
/* 8010E030 00109E70 90 83 00 00 */ stw r4, 0x0(r3)
2022-10-16 16:31:36 +00:00
/* 8010E034 00109E74 48 00 6C AD */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E038 00109E78 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E03C 00109E7C 4B F1 4B 65 */ bl OSLockMutex
/* 8010E040 00109E80 48 00 6C A1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E044 00109E84 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E048 00109E88 4B F1 4B 59 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E04C 00109E8C 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 8010E050 00109E90 48 00 06 E1 */ bl UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv
2022-10-16 16:05:58 +00:00
/* 8010E054 00109E94 83 FD 00 C8 */ lwz r31, 0xc8(r29)
/* 8010E058 00109E98 48 00 00 1C */ b lbl_8010E074
.global lbl_8010E05C
lbl_8010E05C:
/* 8010E05C 00109E9C 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 8010E060 00109EA0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E064 00109EA4 41 82 00 0C */ beq lbl_8010E070
/* 8010E068 00109EA8 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E06C 00109EAC 4B FF 9A 45 */ bl Release__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010E070
lbl_8010E070:
/* 8010E070 00109EB0 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E074
lbl_8010E074:
/* 8010E074 00109EB4 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E078 00109EB8 40 82 FF E4 */ bne lbl_8010E05C
2022-10-16 16:31:36 +00:00
/* 8010E07C 00109EBC 48 00 6C 65 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E080 00109EC0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E084 00109EC4 4B F1 4B FD */ bl OSUnlockMutex
/* 8010E088 00109EC8 48 00 6C 59 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E08C 00109ECC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E090 00109ED0 4B F1 4B 11 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E094 00109ED4 83 FD 00 C8 */ lwz r31, 0xc8(r29)
/* 8010E098 00109ED8 48 00 00 10 */ b lbl_8010E0A8
.global lbl_8010E09C
lbl_8010E09C:
/* 8010E09C 00109EDC 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E0A0 00109EE0 4B FF 9F B1 */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
/* 8010E0A4 00109EE4 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E0A8
lbl_8010E0A8:
/* 8010E0A8 00109EE8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E0AC 00109EEC 40 82 FF F0 */ bne lbl_8010E09C
/* 8010E0B0 00109EF0 3B E0 00 00 */ li r31, 0x0
/* 8010E0B4 00109EF4 93 FD 00 C8 */ stw r31, 0xc8(r29)
2022-10-16 16:31:36 +00:00
/* 8010E0B8 00109EF8 48 00 6C 29 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E0BC 00109EFC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E0C0 00109F00 4B F1 4B C1 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E0C4 00109F04 9B FD 00 05 */ stb r31, 0x5(r29)
2022-10-16 16:31:36 +00:00
/* 8010E0C8 00109F08 48 00 6C 19 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E0CC 00109F0C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E0D0 00109F10 4B F1 4B B1 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E0D4 00109F14 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010E0D8 00109F18 40 81 00 0C */ ble lbl_8010E0E4
/* 8010E0DC 00109F1C 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 8010E0E0 00109F20 48 0B 16 35 */ bl __dl__FPv
2022-10-16 16:05:58 +00:00
.global lbl_8010E0E4
lbl_8010E0E4:
/* 8010E0E4 00109F24 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8010E0E8 00109F28 7F A3 EB 78 */ mr r3, r29
/* 8010E0EC 00109F2C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8010E0F0 00109F30 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8010E0F4 00109F34 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8010E0F8 00109F38 7C 08 03 A6 */ mtlr r0
/* 8010E0FC 00109F3C 38 21 00 20 */ addi r1, r1, 0x20
/* 8010E100 00109F40 4E 80 00 20 */ blr
/* 8010E104 00109F44 00 00 00 00 */ .4byte 0x00000000
/* 8010E108 00109F48 00 00 00 00 */ .4byte 0x00000000
/* 8010E10C 00109F4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global InitParam__Q44nw4r3snd6detail8SeqTrackFv
InitParam__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E110 00109F50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E114 00109F54 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 8010E118 00109F58 C0 22 94 10 */ lfs f1, "@10623"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E11C 00109F5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E120 00109F60 38 00 00 01 */ li r0, 0x1
2022-10-16 16:31:36 +00:00
/* 8010E124 00109F64 C0 02 94 14 */ lfs f0, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E128 00109F68 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E12C 00109F6C 3B E0 00 00 */ li r31, 0x0
/* 8010E130 00109F70 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E134 00109F74 7C 7E 1B 78 */ mr r30, r3
/* 8010E138 00109F78 D0 23 00 08 */ stfs f1, 0x8(r3)
/* 8010E13C 00109F7C D0 23 00 0C */ stfs f1, 0xc(r3)
/* 8010E140 00109F80 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8010E144 00109F84 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 8010E148 00109F88 D0 23 00 18 */ stfs f1, 0x18(r3)
/* 8010E14C 00109F8C 93 E3 00 1C */ stw r31, 0x1c(r3)
/* 8010E150 00109F90 93 E3 00 20 */ stw r31, 0x20(r3)
/* 8010E154 00109F94 98 03 00 24 */ stb r0, 0x24(r3)
/* 8010E158 00109F98 98 03 00 25 */ stb r0, 0x25(r3)
/* 8010E15C 00109F9C 9B E3 00 26 */ stb r31, 0x26(r3)
/* 8010E160 00109FA0 9B E3 00 27 */ stb r31, 0x27(r3)
/* 8010E164 00109FA4 9B E3 00 40 */ stb r31, 0x40(r3)
/* 8010E168 00109FA8 93 E3 00 44 */ stw r31, 0x44(r3)
/* 8010E16C 00109FAC 9B E3 00 48 */ stb r31, 0x48(r3)
/* 8010E170 00109FB0 9B E3 00 49 */ stb r31, 0x49(r3)
/* 8010E174 00109FB4 9B E3 00 4A */ stb r31, 0x4a(r3)
/* 8010E178 00109FB8 9B E3 00 4B */ stb r31, 0x4b(r3)
/* 8010E17C 00109FBC 9B E3 00 4C */ stb r31, 0x4c(r3)
/* 8010E180 00109FC0 93 E3 00 50 */ stw r31, 0x50(r3)
/* 8010E184 00109FC4 93 E3 00 54 */ stw r31, 0x54(r3)
/* 8010E188 00109FC8 38 63 00 58 */ addi r3, r3, 0x58
2022-10-16 16:31:36 +00:00
/* 8010E18C 00109FCC 4B FF BA 55 */ bl Init__Q44nw4r3snd6detail8LfoParamFv
/* 8010E190 00109FD0 C0 02 94 14 */ lfs f0, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E194 00109FD4 38 E0 00 7F */ li r7, 0x7f
/* 8010E198 00109FD8 38 60 00 FF */ li r3, 0xff
/* 8010E19C 00109FDC 38 C0 00 02 */ li r6, 0x2
/* 8010E1A0 00109FE0 38 A0 00 40 */ li r5, 0x40
/* 8010E1A4 00109FE4 38 80 00 3C */ li r4, 0x3c
/* 8010E1A8 00109FE8 9B FE 00 68 */ stb r31, 0x68(r30)
/* 8010E1AC 00109FEC 38 00 FF FF */ li r0, -0x1
/* 8010E1B0 00109FF0 D0 1E 00 6C */ stfs f0, 0x6c(r30)
/* 8010E1B4 00109FF4 98 FE 00 70 */ stb r7, 0x70(r30)
/* 8010E1B8 00109FF8 98 FE 00 71 */ stb r7, 0x71(r30)
/* 8010E1BC 00109FFC B3 FE 00 72 */ sth r31, 0x72(r30)
/* 8010E1C0 0010A000 B3 FE 00 74 */ sth r31, 0x74(r30)
/* 8010E1C4 0010A004 9B FE 00 76 */ stb r31, 0x76(r30)
/* 8010E1C8 0010A008 9B FE 00 77 */ stb r31, 0x77(r30)
/* 8010E1CC 0010A00C B3 FE 00 78 */ sth r31, 0x78(r30)
/* 8010E1D0 0010A010 B3 FE 00 7A */ sth r31, 0x7a(r30)
/* 8010E1D4 0010A014 9B FE 00 7C */ stb r31, 0x7c(r30)
/* 8010E1D8 0010A018 9B FE 00 7D */ stb r31, 0x7d(r30)
/* 8010E1DC 0010A01C B3 FE 00 7E */ sth r31, 0x7e(r30)
/* 8010E1E0 0010A020 B3 FE 00 80 */ sth r31, 0x80(r30)
/* 8010E1E4 0010A024 98 FE 00 88 */ stb r7, 0x88(r30)
/* 8010E1E8 0010A028 98 FE 00 89 */ stb r7, 0x89(r30)
/* 8010E1EC 0010A02C 9B FE 00 82 */ stb r31, 0x82(r30)
/* 8010E1F0 0010A030 9B FE 00 83 */ stb r31, 0x83(r30)
/* 8010E1F4 0010A034 B3 FE 00 84 */ sth r31, 0x84(r30)
/* 8010E1F8 0010A038 B3 FE 00 86 */ sth r31, 0x86(r30)
/* 8010E1FC 0010A03C 98 DE 00 8A */ stb r6, 0x8a(r30)
/* 8010E200 0010A040 9B FE 00 8B */ stb r31, 0x8b(r30)
/* 8010E204 0010A044 9B FE 00 8C */ stb r31, 0x8c(r30)
/* 8010E208 0010A048 98 BE 00 8D */ stb r5, 0x8d(r30)
/* 8010E20C 0010A04C 98 9E 00 8E */ stb r4, 0x8e(r30)
/* 8010E210 0010A050 9B FE 00 8F */ stb r31, 0x8f(r30)
/* 8010E214 0010A054 98 7E 00 90 */ stb r3, 0x90(r30)
/* 8010E218 0010A058 98 7E 00 91 */ stb r3, 0x91(r30)
/* 8010E21C 0010A05C 98 7E 00 92 */ stb r3, 0x92(r30)
/* 8010E220 0010A060 98 7E 00 93 */ stb r3, 0x93(r30)
/* 8010E224 0010A064 B0 7E 00 94 */ sth r3, 0x94(r30)
/* 8010E228 0010A068 98 FE 00 96 */ stb r7, 0x96(r30)
/* 8010E22C 0010A06C 9B FE 00 97 */ stb r31, 0x97(r30)
/* 8010E230 0010A070 9B FE 00 98 */ stb r31, 0x98(r30)
/* 8010E234 0010A074 9B FE 00 99 */ stb r31, 0x99(r30)
/* 8010E238 0010A078 D0 1E 00 9C */ stfs f0, 0x9c(r30)
/* 8010E23C 0010A07C 9B FE 00 9A */ stb r31, 0x9a(r30)
/* 8010E240 0010A080 D0 1E 00 A0 */ stfs f0, 0xa0(r30)
/* 8010E244 0010A084 B0 1E 00 A4 */ sth r0, 0xa4(r30)
/* 8010E248 0010A088 B0 1E 00 A6 */ sth r0, 0xa6(r30)
/* 8010E24C 0010A08C B0 1E 00 A8 */ sth r0, 0xa8(r30)
/* 8010E250 0010A090 B0 1E 00 AA */ sth r0, 0xaa(r30)
/* 8010E254 0010A094 B0 1E 00 AC */ sth r0, 0xac(r30)
/* 8010E258 0010A098 B0 1E 00 AE */ sth r0, 0xae(r30)
/* 8010E25C 0010A09C B0 1E 00 B0 */ sth r0, 0xb0(r30)
/* 8010E260 0010A0A0 B0 1E 00 B2 */ sth r0, 0xb2(r30)
/* 8010E264 0010A0A4 B0 1E 00 B4 */ sth r0, 0xb4(r30)
/* 8010E268 0010A0A8 B0 1E 00 B6 */ sth r0, 0xb6(r30)
/* 8010E26C 0010A0AC B0 1E 00 B8 */ sth r0, 0xb8(r30)
/* 8010E270 0010A0B0 B0 1E 00 BA */ sth r0, 0xba(r30)
/* 8010E274 0010A0B4 B0 1E 00 BC */ sth r0, 0xbc(r30)
/* 8010E278 0010A0B8 B0 1E 00 BE */ sth r0, 0xbe(r30)
/* 8010E27C 0010A0BC B0 1E 00 C0 */ sth r0, 0xc0(r30)
/* 8010E280 0010A0C0 B0 1E 00 C2 */ sth r0, 0xc2(r30)
/* 8010E284 0010A0C4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E288 0010A0C8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E28C 0010A0CC 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E290 0010A0D0 7C 08 03 A6 */ mtlr r0
/* 8010E294 0010A0D4 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E298 0010A0D8 4E 80 00 20 */ blr
/* 8010E29C 0010A0DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetSeqData__Q44nw4r3snd6detail8SeqTrackFPCvl
SetSeqData__Q44nw4r3snd6detail8SeqTrackFPCvl:
2022-10-16 16:05:58 +00:00
/* 8010E2A0 0010A0E0 7C 04 2A 14 */ add r0, r4, r5
/* 8010E2A4 0010A0E4 90 83 00 1C */ stw r4, 0x1c(r3)
/* 8010E2A8 0010A0E8 90 03 00 20 */ stw r0, 0x20(r3)
/* 8010E2AC 0010A0EC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global Open__Q44nw4r3snd6detail8SeqTrackFv
Open__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E2B0 0010A0F0 38 80 00 00 */ li r4, 0x0
/* 8010E2B4 0010A0F4 38 00 00 01 */ li r0, 0x1
/* 8010E2B8 0010A0F8 98 83 00 4A */ stb r4, 0x4a(r3)
/* 8010E2BC 0010A0FC 98 83 00 40 */ stb r4, 0x40(r3)
/* 8010E2C0 0010A100 90 83 00 44 */ stw r4, 0x44(r3)
/* 8010E2C4 0010A104 98 03 00 05 */ stb r0, 0x5(r3)
/* 8010E2C8 0010A108 4E 80 00 20 */ blr
/* 8010E2CC 0010A10C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global Close__Q44nw4r3snd6detail8SeqTrackFv
Close__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E2D0 0010A110 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E2D4 0010A114 7C 08 02 A6 */ mflr r0
/* 8010E2D8 0010A118 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E2DC 0010A11C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E2E0 0010A120 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E2E4 0010A124 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 8010E2E8 0010A128 48 00 69 F9 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E2EC 0010A12C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E2F0 0010A130 4B F1 48 B1 */ bl OSLockMutex
/* 8010E2F4 0010A134 48 00 69 ED */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E2F8 0010A138 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E2FC 0010A13C 4B F1 48 A5 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E300 0010A140 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010E304 0010A144 48 00 04 2D */ bl UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv
2022-10-16 16:05:58 +00:00
/* 8010E308 0010A148 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010E30C 0010A14C 48 00 00 1C */ b lbl_8010E328
.global lbl_8010E310
lbl_8010E310:
/* 8010E310 0010A150 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 8010E314 0010A154 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E318 0010A158 41 82 00 0C */ beq lbl_8010E324
/* 8010E31C 0010A15C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E320 0010A160 4B FF 97 91 */ bl Release__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010E324
lbl_8010E324:
/* 8010E324 0010A164 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E328
lbl_8010E328:
/* 8010E328 0010A168 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E32C 0010A16C 40 82 FF E4 */ bne lbl_8010E310
2022-10-16 16:31:36 +00:00
/* 8010E330 0010A170 48 00 69 B1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E334 0010A174 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E338 0010A178 4B F1 49 49 */ bl OSUnlockMutex
/* 8010E33C 0010A17C 48 00 69 A5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E340 0010A180 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E344 0010A184 4B F1 48 5D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E348 0010A188 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010E34C 0010A18C 48 00 00 10 */ b lbl_8010E35C
.global lbl_8010E350
lbl_8010E350:
/* 8010E350 0010A190 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E354 0010A194 4B FF 9C FD */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
/* 8010E358 0010A198 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E35C
lbl_8010E35C:
/* 8010E35C 0010A19C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E360 0010A1A0 40 82 FF F0 */ bne lbl_8010E350
/* 8010E364 0010A1A4 3B E0 00 00 */ li r31, 0x0
/* 8010E368 0010A1A8 93 FE 00 C8 */ stw r31, 0xc8(r30)
2022-10-16 16:31:36 +00:00
/* 8010E36C 0010A1AC 48 00 69 75 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E370 0010A1B0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E374 0010A1B4 4B F1 49 0D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E378 0010A1B8 9B FE 00 05 */ stb r31, 0x5(r30)
2022-10-16 16:31:36 +00:00
/* 8010E37C 0010A1BC 48 00 69 65 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E380 0010A1C0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E384 0010A1C4 4B F1 48 FD */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E388 0010A1C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E38C 0010A1CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E390 0010A1D0 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E394 0010A1D4 7C 08 03 A6 */ mtlr r0
/* 8010E398 0010A1D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E39C 0010A1DC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global UpdateChannelLength__Q44nw4r3snd6detail8SeqTrackFv
UpdateChannelLength__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E3A0 0010A1E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E3A4 0010A1E4 7C 08 02 A6 */ mflr r0
/* 8010E3A8 0010A1E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E3AC 0010A1EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E3B0 0010A1F0 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E3B4 0010A1F4 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 8010E3B8 0010A1F8 48 00 69 29 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E3BC 0010A1FC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E3C0 0010A200 4B F1 47 E1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E3C4 0010A204 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8010E3C8 0010A208 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E3CC 0010A20C 40 82 00 14 */ bne lbl_8010E3E0
2022-10-16 16:31:36 +00:00
/* 8010E3D0 0010A210 48 00 69 11 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E3D4 0010A214 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E3D8 0010A218 4B F1 48 A9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E3DC 0010A21C 48 00 00 7C */ b lbl_8010E458
.global lbl_8010E3E0
lbl_8010E3E0:
/* 8010E3E0 0010A220 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010E3E4 0010A224 48 00 00 60 */ b lbl_8010E444
.global lbl_8010E3E8
lbl_8010E3E8:
/* 8010E3E8 0010A228 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 8010E3EC 0010A22C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8010E3F0 0010A230 40 81 00 0C */ ble lbl_8010E3FC
/* 8010E3F4 0010A234 38 03 FF FF */ addi r0, r3, -0x1
/* 8010E3F8 0010A238 90 1F 00 B0 */ stw r0, 0xb0(r31)
.global lbl_8010E3FC
lbl_8010E3FC:
/* 8010E3FC 0010A23C 80 1F 00 B0 */ lwz r0, 0xb0(r31)
/* 8010E400 0010A240 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E404 0010A244 40 82 00 24 */ bne lbl_8010E428
/* 8010E408 0010A248 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 8010E40C 0010A24C 2C 00 00 04 */ cmpwi r0, 0x4
/* 8010E410 0010A250 41 82 00 18 */ beq lbl_8010E428
/* 8010E414 0010A254 88 1E 00 4C */ lbz r0, 0x4c(r30)
/* 8010E418 0010A258 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E41C 0010A25C 40 82 00 0C */ bne lbl_8010E428
/* 8010E420 0010A260 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E424 0010A264 4B FF 96 FD */ bl NoteOff__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010E428
lbl_8010E428:
/* 8010E428 0010A268 88 1F 00 38 */ lbz r0, 0x38(r31)
/* 8010E42C 0010A26C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E430 0010A270 40 82 00 10 */ bne lbl_8010E440
/* 8010E434 0010A274 7F E3 FB 78 */ mr r3, r31
/* 8010E438 0010A278 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8010E43C 0010A27C 4B FF 98 95 */ bl UpdateSweep__Q44nw4r3snd6detail7ChannelFi
2022-10-16 16:05:58 +00:00
.global lbl_8010E440
lbl_8010E440:
/* 8010E440 0010A280 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E444
lbl_8010E444:
/* 8010E444 0010A284 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E448 0010A288 40 82 FF A0 */ bne lbl_8010E3E8
2022-10-16 16:31:36 +00:00
/* 8010E44C 0010A28C 48 00 68 95 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E450 0010A290 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E454 0010A294 4B F1 48 2D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_8010E458
lbl_8010E458:
/* 8010E458 0010A298 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E45C 0010A29C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E460 0010A2A0 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E464 0010A2A4 7C 08 03 A6 */ mtlr r0
/* 8010E468 0010A2A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E46C 0010A2AC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global ParseNextTick__Q44nw4r3snd6detail8SeqTrackFb
ParseNextTick__Q44nw4r3snd6detail8SeqTrackFb:
2022-10-16 16:05:58 +00:00
/* 8010E470 0010A2B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E474 0010A2B4 7C 08 02 A6 */ mflr r0
/* 8010E478 0010A2B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E47C 0010A2BC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E480 0010A2C0 7C 9F 23 78 */ mr r31, r4
/* 8010E484 0010A2C4 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E488 0010A2C8 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 8010E48C 0010A2CC 48 00 68 55 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E490 0010A2D0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E494 0010A2D4 4B F1 47 0D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E498 0010A2D8 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8010E49C 0010A2DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E4A0 0010A2E0 40 82 00 18 */ bne lbl_8010E4B8
2022-10-16 16:31:36 +00:00
/* 8010E4A4 0010A2E4 48 00 68 3D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E4A8 0010A2E8 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E4AC 0010A2EC 4B F1 47 D5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E4B0 0010A2F0 38 60 00 00 */ li r3, 0x0
/* 8010E4B4 0010A2F4 48 00 01 30 */ b lbl_8010E5E4
.global lbl_8010E4B8
lbl_8010E4B8:
/* 8010E4B8 0010A2F8 A8 7E 00 74 */ lha r3, 0x74(r30)
/* 8010E4BC 0010A2FC A8 1E 00 72 */ lha r0, 0x72(r30)
/* 8010E4C0 0010A300 7C 03 00 00 */ cmpw r3, r0
/* 8010E4C4 0010A304 40 80 00 0C */ bge lbl_8010E4D0
/* 8010E4C8 0010A308 38 03 00 01 */ addi r0, r3, 0x1
/* 8010E4CC 0010A30C B0 1E 00 74 */ sth r0, 0x74(r30)
.global lbl_8010E4D0
lbl_8010E4D0:
/* 8010E4D0 0010A310 A8 7E 00 7A */ lha r3, 0x7a(r30)
/* 8010E4D4 0010A314 A8 1E 00 78 */ lha r0, 0x78(r30)
/* 8010E4D8 0010A318 7C 03 00 00 */ cmpw r3, r0
/* 8010E4DC 0010A31C 40 80 00 0C */ bge lbl_8010E4E8
/* 8010E4E0 0010A320 38 03 00 01 */ addi r0, r3, 0x1
/* 8010E4E4 0010A324 B0 1E 00 7A */ sth r0, 0x7a(r30)
.global lbl_8010E4E8
lbl_8010E4E8:
/* 8010E4E8 0010A328 A8 7E 00 80 */ lha r3, 0x80(r30)
/* 8010E4EC 0010A32C A8 1E 00 7E */ lha r0, 0x7e(r30)
/* 8010E4F0 0010A330 7C 03 00 00 */ cmpw r3, r0
/* 8010E4F4 0010A334 40 80 00 0C */ bge lbl_8010E500
/* 8010E4F8 0010A338 38 03 00 01 */ addi r0, r3, 0x1
/* 8010E4FC 0010A33C B0 1E 00 80 */ sth r0, 0x80(r30)
.global lbl_8010E500
lbl_8010E500:
/* 8010E500 0010A340 A8 7E 00 86 */ lha r3, 0x86(r30)
/* 8010E504 0010A344 A8 1E 00 84 */ lha r0, 0x84(r30)
/* 8010E508 0010A348 7C 03 00 00 */ cmpw r3, r0
/* 8010E50C 0010A34C 40 80 00 0C */ bge lbl_8010E518
/* 8010E510 0010A350 38 03 00 01 */ addi r0, r3, 0x1
/* 8010E514 0010A354 B0 1E 00 86 */ sth r0, 0x86(r30)
.global lbl_8010E518
lbl_8010E518:
/* 8010E518 0010A358 88 1E 00 4A */ lbz r0, 0x4a(r30)
/* 8010E51C 0010A35C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E520 0010A360 41 82 00 2C */ beq lbl_8010E54C
/* 8010E524 0010A364 80 1E 00 C8 */ lwz r0, 0xc8(r30)
/* 8010E528 0010A368 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E52C 0010A36C 41 82 00 18 */ beq lbl_8010E544
2022-10-16 16:31:36 +00:00
/* 8010E530 0010A370 48 00 67 B1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E534 0010A374 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E538 0010A378 4B F1 47 49 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E53C 0010A37C 38 60 00 01 */ li r3, 0x1
/* 8010E540 0010A380 48 00 00 A4 */ b lbl_8010E5E4
.global lbl_8010E544
lbl_8010E544:
/* 8010E544 0010A384 38 00 00 00 */ li r0, 0x0
/* 8010E548 0010A388 98 1E 00 4A */ stb r0, 0x4a(r30)
.global lbl_8010E54C
lbl_8010E54C:
/* 8010E54C 0010A38C 80 7E 00 44 */ lwz r3, 0x44(r30)
/* 8010E550 0010A390 2C 03 00 00 */ cmpwi r3, 0x0
/* 8010E554 0010A394 40 81 00 24 */ ble lbl_8010E578
/* 8010E558 0010A398 34 03 FF FF */ addic. r0, r3, -0x1
/* 8010E55C 0010A39C 90 1E 00 44 */ stw r0, 0x44(r30)
/* 8010E560 0010A3A0 40 81 00 18 */ ble lbl_8010E578
2022-10-16 16:31:36 +00:00
/* 8010E564 0010A3A4 48 00 67 7D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E568 0010A3A8 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E56C 0010A3AC 4B F1 47 15 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E570 0010A3B0 38 60 00 01 */ li r3, 0x1
/* 8010E574 0010A3B4 48 00 00 70 */ b lbl_8010E5E4
.global lbl_8010E578
lbl_8010E578:
/* 8010E578 0010A3B8 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8010E57C 0010A3BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E580 0010A3C0 41 82 00 54 */ beq lbl_8010E5D4
/* 8010E584 0010A3C4 48 00 00 38 */ b lbl_8010E5BC
.global lbl_8010E588
lbl_8010E588:
/* 8010E588 0010A3C8 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8010E58C 0010A3CC 7F C3 F3 78 */ mr r3, r30
/* 8010E590 0010A3D0 7F E4 FB 78 */ mr r4, r31
/* 8010E594 0010A3D4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8010E598 0010A3D8 7D 89 03 A6 */ mtctr r12
/* 8010E59C 0010A3DC 4E 80 04 21 */ bctrl
/* 8010E5A0 0010A3E0 2C 03 00 01 */ cmpwi r3, 0x1
/* 8010E5A4 0010A3E4 40 82 00 18 */ bne lbl_8010E5BC
2022-10-16 16:31:36 +00:00
/* 8010E5A8 0010A3E8 48 00 67 39 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E5AC 0010A3EC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E5B0 0010A3F0 4B F1 46 D1 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E5B4 0010A3F4 38 60 FF FF */ li r3, -0x1
/* 8010E5B8 0010A3F8 48 00 00 2C */ b lbl_8010E5E4
.global lbl_8010E5BC
lbl_8010E5BC:
/* 8010E5BC 0010A3FC 80 1E 00 44 */ lwz r0, 0x44(r30)
/* 8010E5C0 0010A400 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E5C4 0010A404 40 82 00 10 */ bne lbl_8010E5D4
/* 8010E5C8 0010A408 88 1E 00 4A */ lbz r0, 0x4a(r30)
/* 8010E5CC 0010A40C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E5D0 0010A410 41 82 FF B8 */ beq lbl_8010E588
.global lbl_8010E5D4
lbl_8010E5D4:
2022-10-16 16:31:36 +00:00
/* 8010E5D4 0010A414 48 00 67 0D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E5D8 0010A418 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E5DC 0010A41C 4B F1 46 A5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E5E0 0010A420 38 60 00 01 */ li r3, 0x1
.global lbl_8010E5E4
lbl_8010E5E4:
/* 8010E5E4 0010A424 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E5E8 0010A428 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E5EC 0010A42C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E5F0 0010A430 7C 08 03 A6 */ mtlr r0
/* 8010E5F4 0010A434 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E5F8 0010A438 4E 80 00 20 */ blr
/* 8010E5FC 0010A43C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global ReleaseAllChannel__Q44nw4r3snd6detail8SeqTrackFi
ReleaseAllChannel__Q44nw4r3snd6detail8SeqTrackFi:
2022-10-16 16:05:58 +00:00
/* 8010E600 0010A440 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E604 0010A444 7C 08 02 A6 */ mflr r0
/* 8010E608 0010A448 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E60C 0010A44C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E610 0010A450 7C 7F 1B 78 */ mr r31, r3
/* 8010E614 0010A454 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E618 0010A458 7C 9E 23 78 */ mr r30, r4
2022-10-16 16:31:36 +00:00
/* 8010E61C 0010A45C 48 00 66 C5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E620 0010A460 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E624 0010A464 4B F1 45 7D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E628 0010A468 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E62C 0010A46C 48 00 01 05 */ bl UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv
2022-10-16 16:05:58 +00:00
/* 8010E630 0010A470 83 FF 00 C8 */ lwz r31, 0xc8(r31)
/* 8010E634 0010A474 48 00 00 30 */ b lbl_8010E664
.global lbl_8010E638
lbl_8010E638:
/* 8010E638 0010A478 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 8010E63C 0010A47C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E640 0010A480 41 82 00 20 */ beq lbl_8010E660
/* 8010E644 0010A484 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010E648 0010A488 41 80 00 10 */ blt lbl_8010E658
/* 8010E64C 0010A48C 7F E3 FB 78 */ mr r3, r31
/* 8010E650 0010A490 57 C4 06 3E */ clrlwi r4, r30, 24
2022-10-16 16:31:36 +00:00
/* 8010E654 0010A494 4B FF A8 0D */ bl SetRelease__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010E658
lbl_8010E658:
/* 8010E658 0010A498 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010E65C 0010A49C 4B FF 94 55 */ bl Release__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010E660
lbl_8010E660:
/* 8010E660 0010A4A0 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E664
lbl_8010E664:
/* 8010E664 0010A4A4 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E668 0010A4A8 40 82 FF D0 */ bne lbl_8010E638
2022-10-16 16:31:36 +00:00
/* 8010E66C 0010A4AC 48 00 66 75 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E670 0010A4B0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E674 0010A4B4 4B F1 46 0D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E678 0010A4B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E67C 0010A4BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E680 0010A4C0 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E684 0010A4C4 7C 08 03 A6 */ mtlr r0
/* 8010E688 0010A4C8 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E68C 0010A4CC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global PauseAllChannel__Q44nw4r3snd6detail8SeqTrackFb
PauseAllChannel__Q44nw4r3snd6detail8SeqTrackFb:
2022-10-16 16:05:58 +00:00
/* 8010E690 0010A4D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010E694 0010A4D4 7C 08 02 A6 */ mflr r0
/* 8010E698 0010A4D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010E69C 0010A4DC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010E6A0 0010A4E0 7C 7F 1B 78 */ mr r31, r3
/* 8010E6A4 0010A4E4 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010E6A8 0010A4E8 7C 9E 23 78 */ mr r30, r4
2022-10-16 16:31:36 +00:00
/* 8010E6AC 0010A4EC 48 00 66 35 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E6B0 0010A4F0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E6B4 0010A4F4 4B F1 44 ED */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E6B8 0010A4F8 83 FF 00 C8 */ lwz r31, 0xc8(r31)
/* 8010E6BC 0010A4FC 48 00 00 3C */ b lbl_8010E6F8
.global lbl_8010E6C0
lbl_8010E6C0:
/* 8010E6C0 0010A500 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 8010E6C4 0010A504 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E6C8 0010A508 41 82 00 2C */ beq lbl_8010E6F4
/* 8010E6CC 0010A50C 88 7F 00 35 */ lbz r3, 0x35(r31)
/* 8010E6D0 0010A510 7C 03 00 D0 */ neg r0, r3
/* 8010E6D4 0010A514 7C 00 1B 78 */ or r0, r0, r3
/* 8010E6D8 0010A518 54 00 0F FE */ srwi r0, r0, 31
/* 8010E6DC 0010A51C 7C 1E 00 40 */ cmplw r30, r0
/* 8010E6E0 0010A520 41 82 00 14 */ beq lbl_8010E6F4
/* 8010E6E4 0010A524 9B DF 00 35 */ stb r30, 0x35(r31)
/* 8010E6E8 0010A528 7F C4 F3 78 */ mr r4, r30
/* 8010E6EC 0010A52C 80 7F 00 D0 */ lwz r3, 0xd0(r31)
2022-10-16 16:31:36 +00:00
/* 8010E6F0 0010A530 48 00 C2 F1 */ bl Pause__Q44nw4r3snd6detail5VoiceFb
2022-10-16 16:05:58 +00:00
.global lbl_8010E6F4
lbl_8010E6F4:
/* 8010E6F4 0010A534 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010E6F8
lbl_8010E6F8:
/* 8010E6F8 0010A538 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010E6FC 0010A53C 40 82 FF C4 */ bne lbl_8010E6C0
2022-10-16 16:31:36 +00:00
/* 8010E700 0010A540 48 00 65 E1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E704 0010A544 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E708 0010A548 4B F1 45 79 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E70C 0010A54C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010E710 0010A550 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010E714 0010A554 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010E718 0010A558 7C 08 03 A6 */ mtlr r0
/* 8010E71C 0010A55C 38 21 00 10 */ addi r1, r1, 0x10
/* 8010E720 0010A560 4E 80 00 20 */ blr
/* 8010E724 0010A564 00 00 00 00 */ .4byte 0x00000000
/* 8010E728 0010A568 00 00 00 00 */ .4byte 0x00000000
/* 8010E72C 0010A56C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv
UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010E730 0010A570 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8010E734 0010A574 7C 08 02 A6 */ mflr r0
/* 8010E738 0010A578 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8010E73C 0010A57C 39 61 00 40 */ addi r11, r1, 0x40
/* 8010E740 0010A580 DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 8010E744 0010A584 F3 E1 00 E8 */ psq_st f31, 0xe8(r1), 0, qr0
/* 8010E748 0010A588 DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 8010E74C 0010A58C F3 C1 00 D8 */ psq_st f30, 0xd8(r1), 0, qr0
/* 8010E750 0010A590 DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 8010E754 0010A594 F3 A1 00 C8 */ psq_st f29, 0xc8(r1), 0, qr0
/* 8010E758 0010A598 DB 81 00 B0 */ stfd f28, 0xb0(r1)
/* 8010E75C 0010A59C F3 81 00 B8 */ psq_st f28, 0xb8(r1), 0, qr0
/* 8010E760 0010A5A0 DB 61 00 A0 */ stfd f27, 0xa0(r1)
/* 8010E764 0010A5A4 F3 61 00 A8 */ psq_st f27, 0xa8(r1), 0, qr0
/* 8010E768 0010A5A8 DB 41 00 90 */ stfd f26, 0x90(r1)
/* 8010E76C 0010A5AC F3 41 00 98 */ psq_st f26, 0x98(r1), 0, qr0
/* 8010E770 0010A5B0 DB 21 00 80 */ stfd f25, 0x80(r1)
/* 8010E774 0010A5B4 F3 21 00 88 */ psq_st f25, 0x88(r1), 0, qr0
/* 8010E778 0010A5B8 DB 01 00 70 */ stfd f24, 0x70(r1)
/* 8010E77C 0010A5BC F3 01 00 78 */ psq_st f24, 0x78(r1), 0, qr0
/* 8010E780 0010A5C0 DA E1 00 60 */ stfd f23, 0x60(r1)
/* 8010E784 0010A5C4 F2 E1 00 68 */ psq_st f23, 0x68(r1), 0, qr0
/* 8010E788 0010A5C8 DA C1 00 50 */ stfd f22, 0x50(r1)
/* 8010E78C 0010A5CC F2 C1 00 58 */ psq_st f22, 0x58(r1), 0, qr0
/* 8010E790 0010A5D0 DA A1 00 40 */ stfd f21, 0x40(r1)
/* 8010E794 0010A5D4 F2 A1 00 48 */ psq_st f21, 0x48(r1), 0, qr0
/* 8010E798 0010A5D8 4B EF 8B A1 */ bl lbl_80007338
/* 8010E79C 0010A5DC 3C 00 43 30 */ lis r0, 0x4330
/* 8010E7A0 0010A5E0 90 01 00 18 */ stw r0, 0x18(r1)
/* 8010E7A4 0010A5E4 7C 7E 1B 78 */ mr r30, r3
/* 8010E7A8 0010A5E8 90 01 00 20 */ stw r0, 0x20(r1)
2022-10-16 16:31:36 +00:00
/* 8010E7AC 0010A5EC 48 00 65 35 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E7B0 0010A5F0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E7B4 0010A5F4 4B F1 43 ED */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010E7B8 0010A5F8 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8010E7BC 0010A5FC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E7C0 0010A600 40 82 00 14 */ bne lbl_8010E7D4
2022-10-16 16:31:36 +00:00
/* 8010E7C4 0010A604 48 00 65 1D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E7C8 0010A608 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E7CC 0010A60C 4B F1 44 B5 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E7D0 0010A610 48 00 04 68 */ b lbl_8010EC38
.global lbl_8010E7D4
lbl_8010E7D4:
/* 8010E7D4 0010A614 80 1E 00 C8 */ lwz r0, 0xc8(r30)
/* 8010E7D8 0010A618 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010E7DC 0010A61C 40 82 00 14 */ bne lbl_8010E7F0
2022-10-16 16:31:36 +00:00
/* 8010E7E0 0010A620 48 00 65 01 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010E7E4 0010A624 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010E7E8 0010A628 4B F1 44 99 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010E7EC 0010A62C 48 00 04 4C */ b lbl_8010EC38
.global lbl_8010E7F0
lbl_8010E7F0:
/* 8010E7F0 0010A630 A8 9E 00 72 */ lha r4, 0x72(r30)
/* 8010E7F4 0010A634 A8 7E 00 74 */ lha r3, 0x74(r30)
2022-10-16 16:31:36 +00:00
/* 8010E7F8 0010A638 C3 A2 94 10 */ lfs f29, "@10623"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E7FC 0010A63C 7C 03 20 00 */ cmpw r3, r4
/* 8010E800 0010A640 41 80 00 0C */ blt lbl_8010E80C
/* 8010E804 0010A644 88 1E 00 71 */ lbz r0, 0x71(r30)
/* 8010E808 0010A648 48 00 00 20 */ b lbl_8010E828
.global lbl_8010E80C
lbl_8010E80C:
/* 8010E80C 0010A64C 88 BE 00 70 */ lbz r5, 0x70(r30)
/* 8010E810 0010A650 88 1E 00 71 */ lbz r0, 0x71(r30)
/* 8010E814 0010A654 7C 05 00 50 */ subf r0, r5, r0
/* 8010E818 0010A658 7C 03 01 D6 */ mullw r0, r3, r0
/* 8010E81C 0010A65C 7C 00 23 D6 */ divw r0, r0, r4
/* 8010E820 0010A660 7C 05 02 14 */ add r0, r5, r0
/* 8010E824 0010A664 54 00 06 3E */ clrlwi r0, r0, 24
.global lbl_8010E828
lbl_8010E828:
/* 8010E828 0010A668 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010E82C 0010A66C 88 1E 00 88 */ lbz r0, 0x88(r30)
2022-10-16 16:31:36 +00:00
/* 8010E830 0010A670 C8 62 94 30 */ lfd f3, "@10964"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E834 0010A674 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 8010E838 0010A678 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010E83C 0010A67C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010E840 0010A680 EC 21 18 28 */ fsubs f1, f1, f3
/* 8010E844 0010A684 88 03 00 E8 */ lbz r0, 0xe8(r3)
/* 8010E848 0010A688 C8 01 00 20 */ lfd f0, 0x20(r1)
2022-10-16 16:31:36 +00:00
/* 8010E84C 0010A68C C0 82 94 18 */ lfs f4, "@10956"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E850 0010A690 EC 40 18 28 */ fsubs f2, f0, f3
/* 8010E854 0010A694 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010E858 0010A698 EC C1 20 24 */ fdivs f6, f1, f4
/* 8010E85C 0010A69C C0 1E 00 08 */ lfs f0, 0x8(r30)
/* 8010E860 0010A6A0 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 8010E864 0010A6A4 C0 A3 00 04 */ lfs f5, 0x4(r3)
/* 8010E868 0010A6A8 A8 DE 00 84 */ lha r6, 0x84(r30)
/* 8010E86C 0010A6AC A8 BE 00 86 */ lha r5, 0x86(r30)
/* 8010E870 0010A6B0 EC 61 18 28 */ fsubs f3, f1, f3
/* 8010E874 0010A6B4 7C 05 30 00 */ cmpw r5, r6
/* 8010E878 0010A6B8 EC 42 20 24 */ fdivs f2, f2, f4
/* 8010E87C 0010A6BC EC 26 01 B2 */ fmuls f1, f6, f6
/* 8010E880 0010A6C0 EC 63 20 24 */ fdivs f3, f3, f4
/* 8010E884 0010A6C4 EF BD 00 72 */ fmuls f29, f29, f1
/* 8010E888 0010A6C8 EC 42 00 B2 */ fmuls f2, f2, f2
/* 8010E88C 0010A6CC EC 23 00 F2 */ fmuls f1, f3, f3
/* 8010E890 0010A6D0 EF BD 00 B2 */ fmuls f29, f29, f2
/* 8010E894 0010A6D4 EF BD 00 72 */ fmuls f29, f29, f1
/* 8010E898 0010A6D8 EF BD 00 32 */ fmuls f29, f29, f0
/* 8010E89C 0010A6DC EF BD 01 72 */ fmuls f29, f29, f5
/* 8010E8A0 0010A6E0 41 80 00 10 */ blt lbl_8010E8B0
/* 8010E8A4 0010A6E4 88 1E 00 83 */ lbz r0, 0x83(r30)
/* 8010E8A8 0010A6E8 7C 00 07 74 */ extsb r0, r0
/* 8010E8AC 0010A6EC 48 00 00 28 */ b lbl_8010E8D4
.global lbl_8010E8B0
lbl_8010E8B0:
/* 8010E8B0 0010A6F0 88 FE 00 82 */ lbz r7, 0x82(r30)
/* 8010E8B4 0010A6F4 88 1E 00 83 */ lbz r0, 0x83(r30)
/* 8010E8B8 0010A6F8 7C E4 07 74 */ extsb r4, r7
/* 8010E8BC 0010A6FC 7C 00 07 74 */ extsb r0, r0
/* 8010E8C0 0010A700 7C 04 00 50 */ subf r0, r4, r0
/* 8010E8C4 0010A704 7C 05 01 D6 */ mullw r0, r5, r0
/* 8010E8C8 0010A708 7C 00 33 D6 */ divw r0, r0, r6
/* 8010E8CC 0010A70C 7C 07 02 14 */ add r0, r7, r0
/* 8010E8D0 0010A710 7C 00 07 74 */ extsb r0, r0
.global lbl_8010E8D4
lbl_8010E8D4:
/* 8010E8D4 0010A714 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8010E8D8 0010A718 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010E8DC 0010A71C 88 1E 00 8A */ lbz r0, 0x8a(r30)
2022-10-16 16:31:36 +00:00
/* 8010E8E0 0010A720 C8 22 94 38 */ lfd f1, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E8E4 0010A724 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 8010E8E8 0010A728 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010E8EC 0010A72C EC 20 08 28 */ fsubs f1, f0, f1
2022-10-16 16:31:36 +00:00
/* 8010E8F0 0010A730 C0 02 94 1C */ lfs f0, "@10957"@sda21(r2)
/* 8010E8F4 0010A734 C8 62 94 30 */ lfd f3, "@10964"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E8F8 0010A738 C8 41 00 20 */ lfd f2, 0x20(r1)
/* 8010E8FC 0010A73C EC 21 00 32 */ fmuls f1, f1, f0
2022-10-16 16:31:36 +00:00
/* 8010E900 0010A740 C3 62 94 10 */ lfs f27, "@10623"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E904 0010A744 C0 83 00 08 */ lfs f4, 0x8(r3)
/* 8010E908 0010A748 EC 42 18 28 */ fsubs f2, f2, f3
/* 8010E90C 0010A74C C0 1E 00 0C */ lfs f0, 0xc(r30)
/* 8010E910 0010A750 EF 7B 01 32 */ fmuls f27, f27, f4
/* 8010E914 0010A754 A8 DE 00 78 */ lha r6, 0x78(r30)
/* 8010E918 0010A758 EF 82 00 72 */ fmuls f28, f2, f1
/* 8010E91C 0010A75C A8 BE 00 7A */ lha r5, 0x7a(r30)
/* 8010E920 0010A760 EF 7B 00 32 */ fmuls f27, f27, f0
2022-10-16 16:31:36 +00:00
/* 8010E924 0010A764 C3 42 94 14 */ lfs f26, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E928 0010A768 7C 05 30 00 */ cmpw r5, r6
/* 8010E92C 0010A76C 41 80 00 10 */ blt lbl_8010E93C
/* 8010E930 0010A770 88 1E 00 77 */ lbz r0, 0x77(r30)
/* 8010E934 0010A774 7C 00 07 74 */ extsb r0, r0
/* 8010E938 0010A778 48 00 00 28 */ b lbl_8010E960
.global lbl_8010E93C
lbl_8010E93C:
/* 8010E93C 0010A77C 88 FE 00 76 */ lbz r7, 0x76(r30)
/* 8010E940 0010A780 88 1E 00 77 */ lbz r0, 0x77(r30)
/* 8010E944 0010A784 7C E4 07 74 */ extsb r4, r7
/* 8010E948 0010A788 7C 00 07 74 */ extsb r0, r0
/* 8010E94C 0010A78C 7C 04 00 50 */ subf r0, r4, r0
/* 8010E950 0010A790 7C 05 01 D6 */ mullw r0, r5, r0
/* 8010E954 0010A794 7C 00 33 D6 */ divw r0, r0, r6
/* 8010E958 0010A798 7C 07 02 14 */ add r0, r7, r0
/* 8010E95C 0010A79C 7C 00 07 74 */ extsb r0, r0
.global lbl_8010E960
lbl_8010E960:
/* 8010E960 0010A7A0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8010E964 0010A7A4 90 01 00 24 */ stw r0, 0x24(r1)
2022-10-16 16:31:36 +00:00
/* 8010E968 0010A7A8 C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E96C 0010A7AC C8 21 00 20 */ lfd f1, 0x20(r1)
2022-10-16 16:31:36 +00:00
/* 8010E970 0010A7B0 C0 02 94 20 */ lfs f0, "@10958"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E974 0010A7B4 EC 21 10 28 */ fsubs f1, f1, f2
2022-10-16 16:31:36 +00:00
/* 8010E978 0010A7B8 C0 42 94 10 */ lfs f2, "@10623"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E97C 0010A7BC EC 01 00 24 */ fdivs f0, f1, f0
/* 8010E980 0010A7C0 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8010E984 0010A7C4 40 81 00 08 */ ble lbl_8010E98C
/* 8010E988 0010A7C8 48 00 00 18 */ b lbl_8010E9A0
.global lbl_8010E98C
lbl_8010E98C:
2022-10-16 16:31:36 +00:00
/* 8010E98C 0010A7CC C0 42 94 24 */ lfs f2, "@10959"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E990 0010A7D0 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8010E994 0010A7D4 40 80 00 08 */ bge lbl_8010E99C
/* 8010E998 0010A7D8 48 00 00 08 */ b lbl_8010E9A0
.global lbl_8010E99C
lbl_8010E99C:
/* 8010E99C 0010A7DC FC 40 00 90 */ fmr f2, f0
.global lbl_8010E9A0
lbl_8010E9A0:
/* 8010E9A0 0010A7E0 EF 5A 10 2A */ fadds f26, f26, f2
/* 8010E9A4 0010A7E4 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 8010E9A8 0010A7E8 C0 43 00 D0 */ lfs f2, 0xd0(r3)
/* 8010E9AC 0010A7EC C0 1E 00 10 */ lfs f0, 0x10(r30)
/* 8010E9B0 0010A7F0 EF 5A 00 72 */ fmuls f26, f26, f1
/* 8010E9B4 0010A7F4 C0 23 00 0C */ lfs f1, 0xc(r3)
/* 8010E9B8 0010A7F8 A8 DE 00 7E */ lha r6, 0x7e(r30)
/* 8010E9BC 0010A7FC A8 BE 00 80 */ lha r5, 0x80(r30)
/* 8010E9C0 0010A800 EF 5A 00 B2 */ fmuls f26, f26, f2
2022-10-16 16:31:36 +00:00
/* 8010E9C4 0010A804 C3 22 94 14 */ lfs f25, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010E9C8 0010A808 7C 05 30 00 */ cmpw r5, r6
/* 8010E9CC 0010A80C EF 5A 00 2A */ fadds f26, f26, f0
/* 8010E9D0 0010A810 EF 5A 08 2A */ fadds f26, f26, f1
/* 8010E9D4 0010A814 41 80 00 10 */ blt lbl_8010E9E4
/* 8010E9D8 0010A818 88 1E 00 7D */ lbz r0, 0x7d(r30)
/* 8010E9DC 0010A81C 7C 00 07 74 */ extsb r0, r0
/* 8010E9E0 0010A820 48 00 00 28 */ b lbl_8010EA08
.global lbl_8010E9E4
lbl_8010E9E4:
/* 8010E9E4 0010A824 88 FE 00 7C */ lbz r7, 0x7c(r30)
/* 8010E9E8 0010A828 88 1E 00 7D */ lbz r0, 0x7d(r30)
/* 8010E9EC 0010A82C 7C E4 07 74 */ extsb r4, r7
/* 8010E9F0 0010A830 7C 00 07 74 */ extsb r0, r0
/* 8010E9F4 0010A834 7C 04 00 50 */ subf r0, r4, r0
/* 8010E9F8 0010A838 7C 05 01 D6 */ mullw r0, r5, r0
/* 8010E9FC 0010A83C 7C 00 33 D6 */ divw r0, r0, r6
/* 8010EA00 0010A840 7C 07 02 14 */ add r0, r7, r0
/* 8010EA04 0010A844 7C 00 07 74 */ extsb r0, r0
.global lbl_8010EA08
lbl_8010EA08:
/* 8010EA08 0010A848 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8010EA0C 0010A84C 90 01 00 1C */ stw r0, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 8010EA10 0010A850 C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EA14 0010A854 C8 21 00 18 */ lfd f1, 0x18(r1)
2022-10-16 16:31:36 +00:00
/* 8010EA18 0010A858 C0 02 94 20 */ lfs f0, "@10958"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EA1C 0010A85C EC 21 10 28 */ fsubs f1, f1, f2
2022-10-16 16:31:36 +00:00
/* 8010EA20 0010A860 C0 42 94 28 */ lfs f2, "@10960"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EA24 0010A864 EC 01 00 24 */ fdivs f0, f1, f0
/* 8010EA28 0010A868 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8010EA2C 0010A86C 40 81 00 08 */ ble lbl_8010EA34
/* 8010EA30 0010A870 48 00 00 18 */ b lbl_8010EA48
.global lbl_8010EA34
lbl_8010EA34:
2022-10-16 16:31:36 +00:00
/* 8010EA34 0010A874 C0 42 94 14 */ lfs f2, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EA38 0010A878 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8010EA3C 0010A87C 40 80 00 08 */ bge lbl_8010EA44
/* 8010EA40 0010A880 48 00 00 08 */ b lbl_8010EA48
.global lbl_8010EA44
lbl_8010EA44:
/* 8010EA44 0010A884 FC 40 00 90 */ fmr f2, f0
.global lbl_8010EA48
lbl_8010EA48:
/* 8010EA48 0010A888 EF 39 10 2A */ fadds f25, f25, f2
/* 8010EA4C 0010A88C C0 3E 00 14 */ lfs f1, 0x14(r30)
2022-10-16 16:31:36 +00:00
/* 8010EA50 0010A890 C3 02 94 14 */ lfs f24, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EA54 0010A894 C0 1E 00 9C */ lfs f0, 0x9c(r30)
/* 8010EA58 0010A898 EF 39 08 2A */ fadds f25, f25, f1
/* 8010EA5C 0010A89C C0 23 00 10 */ lfs f1, 0x10(r3)
/* 8010EA60 0010A8A0 EF 18 00 2A */ fadds f24, f24, f0
/* 8010EA64 0010A8A4 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 8010EA68 0010A8A8 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8010EA6C 0010A8AC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010EA70 0010A8B0 EF 39 08 2A */ fadds f25, f25, f1
/* 8010EA74 0010A8B4 8B FE 00 9A */ lbz r31, 0x9a(r30)
/* 8010EA78 0010A8B8 EF 18 00 2A */ fadds f24, f24, f0
/* 8010EA7C 0010A8BC C2 FE 00 A0 */ lfs f23, 0xa0(r30)
/* 8010EA80 0010A8C0 41 82 00 0C */ beq lbl_8010EA8C
/* 8010EA84 0010A8C4 C2 E3 00 18 */ lfs f23, 0x18(r3)
/* 8010EA88 0010A8C8 7C 1F 03 78 */ mr r31, r0
.global lbl_8010EA8C
lbl_8010EA8C:
/* 8010EA8C 0010A8CC 88 1E 00 96 */ lbz r0, 0x96(r30)
/* 8010EA90 0010A8D0 3B 81 00 08 */ addi r28, r1, 0x8
/* 8010EA94 0010A8D4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010EA98 0010A8D8 3B 60 00 00 */ li r27, 0x0
2022-10-16 16:31:36 +00:00
/* 8010EA9C 0010A8DC C2 C2 94 14 */ lfs f22, "@10624"@sda21(r2)
/* 8010EAA0 0010A8E0 CB C2 94 30 */ lfd f30, "@10964"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EAA4 0010A8E4 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 8010EAA8 0010A8E8 FE A0 B0 90 */ fmr f21, f22
2022-10-16 16:31:36 +00:00
/* 8010EAAC 0010A8EC C3 E2 94 18 */ lfs f31, "@10956"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EAB0 0010A8F0 EC 20 F0 28 */ fsubs f1, f0, f30
2022-10-16 16:31:36 +00:00
/* 8010EAB4 0010A8F4 C0 02 94 10 */ lfs f0, "@10623"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010EAB8 0010A8F8 C0 43 00 28 */ lfs f2, 0x28(r3)
/* 8010EABC 0010A8FC 8B A3 00 1D */ lbz r29, 0x1d(r3)
/* 8010EAC0 0010A900 EC 21 F8 24 */ fdivs f1, f1, f31
/* 8010EAC4 0010A904 EC 01 00 28 */ fsubs f0, f1, f0
/* 8010EAC8 0010A908 EE D6 00 2A */ fadds f22, f22, f0
/* 8010EACC 0010A90C EE D6 10 2A */ fadds f22, f22, f2
.global lbl_8010EAD0
lbl_8010EAD0:
/* 8010EAD0 0010A910 7C 7E DA 14 */ add r3, r30, r27
/* 8010EAD4 0010A914 D2 BC 00 00 */ stfs f21, 0x0(r28)
/* 8010EAD8 0010A918 88 03 00 97 */ lbz r0, 0x97(r3)
/* 8010EADC 0010A91C 7F 64 DB 78 */ mr r4, r27
/* 8010EAE0 0010A920 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010EAE4 0010A924 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 8010EAE8 0010A928 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 8010EAEC 0010A92C 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010EAF0 0010A930 EC 21 F0 28 */ fsubs f1, f1, f30
/* 8010EAF4 0010A934 EC 21 F8 24 */ fdivs f1, f1, f31
/* 8010EAF8 0010A938 EC 00 08 2A */ fadds f0, f0, f1
/* 8010EAFC 0010A93C D0 1C 00 00 */ stfs f0, 0x0(r28)
2022-10-16 16:31:36 +00:00
/* 8010EB00 0010A940 4B FF 69 51 */ bl GetFxSend__Q44nw4r3snd6detail11BasicPlayerCFQ34nw4r3snd6AuxBus
2022-10-16 16:05:58 +00:00
/* 8010EB04 0010A944 C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 8010EB08 0010A948 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8010EB0C 0010A94C 2C 1B 00 03 */ cmpwi r27, 0x3
/* 8010EB10 0010A950 EC 00 08 2A */ fadds f0, f0, f1
/* 8010EB14 0010A954 D0 1C 00 00 */ stfs f0, 0x0(r28)
/* 8010EB18 0010A958 3B 9C 00 04 */ addi r28, r28, 0x4
/* 8010EB1C 0010A95C 41 80 FF B4 */ blt lbl_8010EAD0
/* 8010EB20 0010A960 83 7E 00 C8 */ lwz r27, 0xc8(r30)
/* 8010EB24 0010A964 C2 A1 00 08 */ lfs f21, 0x8(r1)
/* 8010EB28 0010A968 C3 E1 00 0C */ lfs f31, 0xc(r1)
/* 8010EB2C 0010A96C C3 C1 00 10 */ lfs f30, 0x10(r1)
/* 8010EB30 0010A970 48 00 00 F4 */ b lbl_8010EC24
.global lbl_8010EB34
lbl_8010EB34:
/* 8010EB34 0010A974 D3 BB 00 40 */ stfs f29, 0x40(r27)
/* 8010EB38 0010A978 FC 20 B8 90 */ fmr f1, f23
/* 8010EB3C 0010A97C 7F 63 DB 78 */ mr r3, r27
/* 8010EB40 0010A980 7F E4 FB 78 */ mr r4, r31
/* 8010EB44 0010A984 D3 9B 00 80 */ stfs f28, 0x80(r27)
/* 8010EB48 0010A988 D3 7B 00 44 */ stfs f27, 0x44(r27)
/* 8010EB4C 0010A98C D3 5B 00 48 */ stfs f26, 0x48(r27)
/* 8010EB50 0010A990 D3 3B 00 4C */ stfs f25, 0x4c(r27)
/* 8010EB54 0010A994 D3 1B 00 50 */ stfs f24, 0x50(r27)
2022-10-16 16:31:36 +00:00
/* 8010EB58 0010A998 4B FF 91 B9 */ bl SetBiquadFilter__Q44nw4r3snd6detail7ChannelFif
2022-10-16 16:05:58 +00:00
/* 8010EB5C 0010A99C 9B BB 00 3C */ stb r29, 0x3c(r27)
/* 8010EB60 0010A9A0 7F 7C DB 78 */ mr r28, r27
/* 8010EB64 0010A9A4 3B 40 00 00 */ li r26, 0x0
/* 8010EB68 0010A9A8 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010EB6C 0010A9AC 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8010EB70 0010A9B0 90 1B 00 58 */ stw r0, 0x58(r27)
/* 8010EB74 0010A9B4 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010EB78 0010A9B8 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 8010EB7C 0010A9BC D0 1B 00 5C */ stfs f0, 0x5c(r27)
/* 8010EB80 0010A9C0 D2 DB 00 60 */ stfs f22, 0x60(r27)
/* 8010EB84 0010A9C4 D2 BB 00 64 */ stfs f21, 0x64(r27)
/* 8010EB88 0010A9C8 D3 FB 00 68 */ stfs f31, 0x68(r27)
/* 8010EB8C 0010A9CC D3 DB 00 6C */ stfs f30, 0x6c(r27)
.global lbl_8010EB90
lbl_8010EB90:
/* 8010EB90 0010A9D0 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010EB94 0010A9D4 7F 44 D3 78 */ mr r4, r26
2022-10-16 16:31:36 +00:00
/* 8010EB98 0010A9D8 4B FF 68 F9 */ bl GetRemoteOutVolume__Q44nw4r3snd6detail11BasicPlayerCFi
2022-10-16 16:05:58 +00:00
/* 8010EB9C 0010A9DC 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8010EBA0 0010A9E0 D0 3C 00 70 */ stfs f1, 0x70(r28)
/* 8010EBA4 0010A9E4 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8010EBA8 0010A9E8 3B 9C 00 04 */ addi r28, r28, 0x4
/* 8010EBAC 0010A9EC 41 80 FF E4 */ blt lbl_8010EB90
/* 8010EBB0 0010A9F0 3B 40 00 00 */ li r26, 0x0
/* 8010EBB4 0010A9F4 3B 80 00 00 */ li r28, 0x0
/* 8010EBB8 0010A9F8 48 00 00 20 */ b lbl_8010EBD8
.global lbl_8010EBBC
lbl_8010EBBC:
/* 8010EBBC 0010A9FC 7C A3 E2 14 */ add r5, r3, r28
/* 8010EBC0 0010AA00 80 7B 00 D0 */ lwz r3, 0xd0(r27)
/* 8010EBC4 0010AA04 7F 44 D3 78 */ mr r4, r26
/* 8010EBC8 0010AA08 38 A5 00 50 */ addi r5, r5, 0x50
2022-10-16 16:31:36 +00:00
/* 8010EBCC 0010AA0C 48 00 C1 85 */ bl SetVoiceOutParam__Q44nw4r3snd6detail5VoiceFiRCQ34nw4r3snd13VoiceOutParam
2022-10-16 16:05:58 +00:00
/* 8010EBD0 0010AA10 3B 9C 00 18 */ addi r28, r28, 0x18
/* 8010EBD4 0010AA14 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8010EBD8
lbl_8010EBD8:
/* 8010EBD8 0010AA18 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8010EBDC 0010AA1C 80 03 00 E4 */ lwz r0, 0xe4(r3)
/* 8010EBE0 0010AA20 7C 1A 00 00 */ cmpw r26, r0
/* 8010EBE4 0010AA24 41 80 FF D8 */ blt lbl_8010EBBC
/* 8010EBE8 0010AA28 C0 1E 00 58 */ lfs f0, 0x58(r30)
/* 8010EBEC 0010AA2C D0 1B 00 1C */ stfs f0, 0x1c(r27)
/* 8010EBF0 0010AA30 C0 1E 00 5C */ lfs f0, 0x5c(r30)
/* 8010EBF4 0010AA34 D0 1B 00 20 */ stfs f0, 0x20(r27)
/* 8010EBF8 0010AA38 80 1E 00 60 */ lwz r0, 0x60(r30)
/* 8010EBFC 0010AA3C 90 1B 00 24 */ stw r0, 0x24(r27)
/* 8010EC00 0010AA40 88 1E 00 64 */ lbz r0, 0x64(r30)
/* 8010EC04 0010AA44 98 1B 00 28 */ stb r0, 0x28(r27)
/* 8010EC08 0010AA48 A0 1E 00 65 */ lhz r0, 0x65(r30)
/* 8010EC0C 0010AA4C B0 1B 00 29 */ sth r0, 0x29(r27)
/* 8010EC10 0010AA50 88 1E 00 67 */ lbz r0, 0x67(r30)
/* 8010EC14 0010AA54 98 1B 00 2B */ stb r0, 0x2b(r27)
/* 8010EC18 0010AA58 88 1E 00 68 */ lbz r0, 0x68(r30)
/* 8010EC1C 0010AA5C 98 1B 00 34 */ stb r0, 0x34(r27)
/* 8010EC20 0010AA60 83 7B 00 D4 */ lwz r27, 0xd4(r27)
.global lbl_8010EC24
lbl_8010EC24:
/* 8010EC24 0010AA64 2C 1B 00 00 */ cmpwi r27, 0x0
/* 8010EC28 0010AA68 40 82 FF 0C */ bne lbl_8010EB34
2022-10-16 16:31:36 +00:00
/* 8010EC2C 0010AA6C 48 00 60 B5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EC30 0010AA70 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EC34 0010AA74 4B F1 40 4D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_8010EC38
lbl_8010EC38:
/* 8010EC38 0010AA78 39 61 00 40 */ addi r11, r1, 0x40
/* 8010EC3C 0010AA7C E3 E1 00 E8 */ psq_l f31, 0xe8(r1), 0, qr0
/* 8010EC40 0010AA80 CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 8010EC44 0010AA84 E3 C1 00 D8 */ psq_l f30, 0xd8(r1), 0, qr0
/* 8010EC48 0010AA88 CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 8010EC4C 0010AA8C E3 A1 00 C8 */ psq_l f29, 0xc8(r1), 0, qr0
/* 8010EC50 0010AA90 CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 8010EC54 0010AA94 E3 81 00 B8 */ psq_l f28, 0xb8(r1), 0, qr0
/* 8010EC58 0010AA98 CB 81 00 B0 */ lfd f28, 0xb0(r1)
/* 8010EC5C 0010AA9C E3 61 00 A8 */ psq_l f27, 0xa8(r1), 0, qr0
/* 8010EC60 0010AAA0 CB 61 00 A0 */ lfd f27, 0xa0(r1)
/* 8010EC64 0010AAA4 E3 41 00 98 */ psq_l f26, 0x98(r1), 0, qr0
/* 8010EC68 0010AAA8 CB 41 00 90 */ lfd f26, 0x90(r1)
/* 8010EC6C 0010AAAC E3 21 00 88 */ psq_l f25, 0x88(r1), 0, qr0
/* 8010EC70 0010AAB0 CB 21 00 80 */ lfd f25, 0x80(r1)
/* 8010EC74 0010AAB4 E3 01 00 78 */ psq_l f24, 0x78(r1), 0, qr0
/* 8010EC78 0010AAB8 CB 01 00 70 */ lfd f24, 0x70(r1)
/* 8010EC7C 0010AABC E2 E1 00 68 */ psq_l f23, 0x68(r1), 0, qr0
/* 8010EC80 0010AAC0 CA E1 00 60 */ lfd f23, 0x60(r1)
/* 8010EC84 0010AAC4 E2 C1 00 58 */ psq_l f22, 0x58(r1), 0, qr0
/* 8010EC88 0010AAC8 CA C1 00 50 */ lfd f22, 0x50(r1)
/* 8010EC8C 0010AACC E2 A1 00 48 */ psq_l f21, 0x48(r1), 0, qr0
/* 8010EC90 0010AAD0 CA A1 00 40 */ lfd f21, 0x40(r1)
/* 8010EC94 0010AAD4 4B EF 86 F1 */ bl lbl_80007384
/* 8010EC98 0010AAD8 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8010EC9C 0010AADC 7C 08 03 A6 */ mtlr r0
/* 8010ECA0 0010AAE0 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8010ECA4 0010AAE4 4E 80 00 20 */ blr
/* 8010ECA8 0010AAE8 00 00 00 00 */ .4byte 0x00000000
/* 8010ECAC 0010AAEC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global FreeAllChannel__Q44nw4r3snd6detail8SeqTrackFv
FreeAllChannel__Q44nw4r3snd6detail8SeqTrackFv:
2022-10-16 16:05:58 +00:00
/* 8010ECB0 0010AAF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010ECB4 0010AAF4 7C 08 02 A6 */ mflr r0
/* 8010ECB8 0010AAF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010ECBC 0010AAFC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010ECC0 0010AB00 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010ECC4 0010AB04 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 8010ECC8 0010AB08 48 00 60 19 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010ECCC 0010AB0C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010ECD0 0010AB10 4B F1 3E D1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010ECD4 0010AB14 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010ECD8 0010AB18 48 00 00 10 */ b lbl_8010ECE8
.global lbl_8010ECDC
lbl_8010ECDC:
/* 8010ECDC 0010AB1C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010ECE0 0010AB20 4B FF 93 71 */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
/* 8010ECE4 0010AB24 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010ECE8
lbl_8010ECE8:
/* 8010ECE8 0010AB28 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010ECEC 0010AB2C 40 82 FF F0 */ bne lbl_8010ECDC
/* 8010ECF0 0010AB30 38 00 00 00 */ li r0, 0x0
/* 8010ECF4 0010AB34 90 1E 00 C8 */ stw r0, 0xc8(r30)
2022-10-16 16:31:36 +00:00
/* 8010ECF8 0010AB38 48 00 5F E9 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010ECFC 0010AB3C 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010ED00 0010AB40 4B F1 3F 81 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010ED04 0010AB44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010ED08 0010AB48 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010ED0C 0010AB4C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010ED10 0010AB50 7C 08 03 A6 */ mtlr r0
/* 8010ED14 0010AB54 38 21 00 10 */ addi r1, r1, 0x10
/* 8010ED18 0010AB58 4E 80 00 20 */ blr
/* 8010ED1C 0010AB5C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global ChannelCallbackFunc__Q44nw4r3snd6detail8SeqTrackFPQ44nw4r3snd6detail7ChannelQ54nw4r3snd6detail7Channel21ChannelCallbackStatusUl
ChannelCallbackFunc__Q44nw4r3snd6detail8SeqTrackFPQ44nw4r3snd6detail7ChannelQ54nw4r3snd6detail7Channel21ChannelCallbackStatusUl:
2022-10-16 16:05:58 +00:00
/* 8010ED20 0010AB60 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8010ED24 0010AB64 7C 08 02 A6 */ mflr r0
/* 8010ED28 0010AB68 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010ED2C 0010AB6C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8010ED30 0010AB70 7C BF 2B 78 */ mr r31, r5
/* 8010ED34 0010AB74 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8010ED38 0010AB78 7C 9E 23 78 */ mr r30, r4
/* 8010ED3C 0010AB7C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010ED40 0010AB80 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 8010ED44 0010AB84 48 00 5F 9D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010ED48 0010AB88 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010ED4C 0010AB8C 4B F1 3E 55 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010ED50 0010AB90 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010ED54 0010AB94 41 82 00 0C */ beq lbl_8010ED60
/* 8010ED58 0010AB98 2C 1E 00 02 */ cmpwi r30, 0x2
/* 8010ED5C 0010AB9C 40 82 00 0C */ bne lbl_8010ED68
.global lbl_8010ED60
lbl_8010ED60:
/* 8010ED60 0010ABA0 7F A3 EB 78 */ mr r3, r29
2022-10-16 16:31:36 +00:00
/* 8010ED64 0010ABA4 4B FF 92 ED */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
.global lbl_8010ED68
lbl_8010ED68:
/* 8010ED68 0010ABA8 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8010ED6C 0010ABAC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8010ED70 0010ABB0 41 82 00 18 */ beq lbl_8010ED88
/* 8010ED74 0010ABB4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8010ED78 0010ABB8 7F A4 EB 78 */ mr r4, r29
/* 8010ED7C 0010ABBC 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8010ED80 0010ABC0 7D 89 03 A6 */ mtctr r12
/* 8010ED84 0010ABC4 4E 80 04 21 */ bctrl
.global lbl_8010ED88
lbl_8010ED88:
/* 8010ED88 0010ABC8 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8010ED8C 0010ABCC 7C 03 E8 40 */ cmplw r3, r29
/* 8010ED90 0010ABD0 40 82 00 44 */ bne lbl_8010EDD4
/* 8010ED94 0010ABD4 80 1D 00 D4 */ lwz r0, 0xd4(r29)
/* 8010ED98 0010ABD8 90 1F 00 C8 */ stw r0, 0xc8(r31)
2022-10-16 16:31:36 +00:00
/* 8010ED9C 0010ABDC 48 00 5F 45 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EDA0 0010ABE0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EDA4 0010ABE4 4B F1 3E DD */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010EDA8 0010ABE8 48 00 00 44 */ b lbl_8010EDEC
/* 8010EDAC 0010ABEC 48 00 00 28 */ b lbl_8010EDD4
.global lbl_8010EDB0
lbl_8010EDB0:
/* 8010EDB0 0010ABF0 7C 00 E8 40 */ cmplw r0, r29
/* 8010EDB4 0010ABF4 40 82 00 1C */ bne lbl_8010EDD0
/* 8010EDB8 0010ABF8 80 1D 00 D4 */ lwz r0, 0xd4(r29)
/* 8010EDBC 0010ABFC 90 03 00 D4 */ stw r0, 0xd4(r3)
2022-10-16 16:31:36 +00:00
/* 8010EDC0 0010AC00 48 00 5F 21 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EDC4 0010AC04 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EDC8 0010AC08 4B F1 3E B9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010EDCC 0010AC0C 48 00 00 20 */ b lbl_8010EDEC
.global lbl_8010EDD0
lbl_8010EDD0:
/* 8010EDD0 0010AC10 7C 03 03 78 */ mr r3, r0
.global lbl_8010EDD4
lbl_8010EDD4:
/* 8010EDD4 0010AC14 80 03 00 D4 */ lwz r0, 0xd4(r3)
/* 8010EDD8 0010AC18 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010EDDC 0010AC1C 40 82 FF D4 */ bne lbl_8010EDB0
2022-10-16 16:31:36 +00:00
/* 8010EDE0 0010AC20 48 00 5F 01 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EDE4 0010AC24 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EDE8 0010AC28 4B F1 3E 99 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_8010EDEC
lbl_8010EDEC:
/* 8010EDEC 0010AC2C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8010EDF0 0010AC30 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8010EDF4 0010AC34 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8010EDF8 0010AC38 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8010EDFC 0010AC3C 7C 08 03 A6 */ mtlr r0
/* 8010EE00 0010AC40 38 21 00 20 */ addi r1, r1, 0x20
/* 8010EE04 0010AC44 4E 80 00 20 */ blr
/* 8010EE08 0010AC48 00 00 00 00 */ .4byte 0x00000000
/* 8010EE0C 0010AC4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetMute__Q44nw4r3snd6detail8SeqTrackFQ34nw4r3snd7SeqMute
SetMute__Q44nw4r3snd6detail8SeqTrackFQ34nw4r3snd7SeqMute:
2022-10-16 16:05:58 +00:00
/* 8010EE10 0010AC50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010EE14 0010AC54 7C 08 02 A6 */ mflr r0
/* 8010EE18 0010AC58 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010EE1C 0010AC5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010EE20 0010AC60 7C 9F 23 78 */ mr r31, r4
/* 8010EE24 0010AC64 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8010EE28 0010AC68 7C 7E 1B 78 */ mr r30, r3
2022-10-16 16:31:36 +00:00
/* 8010EE2C 0010AC6C 48 00 5E B5 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EE30 0010AC70 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EE34 0010AC74 4B F1 3D 6D */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010EE38 0010AC78 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010EE3C 0010AC7C 41 82 00 20 */ beq lbl_8010EE5C
/* 8010EE40 0010AC80 2C 1F 00 03 */ cmpwi r31, 0x3
/* 8010EE44 0010AC84 41 82 00 24 */ beq lbl_8010EE68
/* 8010EE48 0010AC88 2C 1F 00 02 */ cmpwi r31, 0x2
/* 8010EE4C 0010AC8C 41 82 00 6C */ beq lbl_8010EEB8
/* 8010EE50 0010AC90 2C 1F 00 01 */ cmpwi r31, 0x1
/* 8010EE54 0010AC94 41 82 00 F4 */ beq lbl_8010EF48
/* 8010EE58 0010AC98 48 00 00 F8 */ b lbl_8010EF50
.global lbl_8010EE5C
lbl_8010EE5C:
/* 8010EE5C 0010AC9C 38 00 00 00 */ li r0, 0x0
/* 8010EE60 0010ACA0 98 1E 00 48 */ stb r0, 0x48(r30)
/* 8010EE64 0010ACA4 48 00 00 EC */ b lbl_8010EF50
.global lbl_8010EE68
lbl_8010EE68:
2022-10-16 16:31:36 +00:00
/* 8010EE68 0010ACA8 48 00 5E 79 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EE6C 0010ACAC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EE70 0010ACB0 4B F1 3D 31 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010EE74 0010ACB4 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010EE78 0010ACB8 48 00 00 18 */ b lbl_8010EE90
.global lbl_8010EE7C
lbl_8010EE7C:
/* 8010EE7C 0010ACBC 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010EE80 0010ACC0 4B FF 91 D1 */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
/* 8010EE84 0010ACC4 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010EE88 0010ACC8 4B FF 8D 19 */ bl Stop__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
/* 8010EE8C 0010ACCC 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010EE90
lbl_8010EE90:
/* 8010EE90 0010ACD0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010EE94 0010ACD4 40 82 FF E8 */ bne lbl_8010EE7C
/* 8010EE98 0010ACD8 38 00 00 00 */ li r0, 0x0
/* 8010EE9C 0010ACDC 90 1E 00 C8 */ stw r0, 0xc8(r30)
2022-10-16 16:31:36 +00:00
/* 8010EEA0 0010ACE0 48 00 5E 41 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EEA4 0010ACE4 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EEA8 0010ACE8 4B F1 3D D9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010EEAC 0010ACEC 38 00 00 01 */ li r0, 0x1
/* 8010EEB0 0010ACF0 98 1E 00 48 */ stb r0, 0x48(r30)
/* 8010EEB4 0010ACF4 48 00 00 9C */ b lbl_8010EF50
.global lbl_8010EEB8
lbl_8010EEB8:
2022-10-16 16:31:36 +00:00
/* 8010EEB8 0010ACF8 48 00 5E 29 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EEBC 0010ACFC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EEC0 0010AD00 4B F1 3C E1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010EEC4 0010AD04 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010EEC8 0010AD08 4B FF F8 69 */ bl UpdateChannelParam__Q44nw4r3snd6detail8SeqTrackFv
2022-10-16 16:05:58 +00:00
/* 8010EECC 0010AD0C 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010EED0 0010AD10 48 00 00 1C */ b lbl_8010EEEC
.global lbl_8010EED4
lbl_8010EED4:
/* 8010EED4 0010AD14 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 8010EED8 0010AD18 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010EEDC 0010AD1C 41 82 00 0C */ beq lbl_8010EEE8
/* 8010EEE0 0010AD20 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010EEE4 0010AD24 4B FF 8B CD */ bl Release__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010EEE8
lbl_8010EEE8:
/* 8010EEE8 0010AD28 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010EEEC
lbl_8010EEEC:
/* 8010EEEC 0010AD2C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010EEF0 0010AD30 40 82 FF E4 */ bne lbl_8010EED4
2022-10-16 16:31:36 +00:00
/* 8010EEF4 0010AD34 48 00 5D ED */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EEF8 0010AD38 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EEFC 0010AD3C 4B F1 3D 85 */ bl OSUnlockMutex
/* 8010EF00 0010AD40 48 00 5D E1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EF04 0010AD44 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EF08 0010AD48 4B F1 3C 99 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010EF0C 0010AD4C 83 FE 00 C8 */ lwz r31, 0xc8(r30)
/* 8010EF10 0010AD50 48 00 00 10 */ b lbl_8010EF20
.global lbl_8010EF14
lbl_8010EF14:
/* 8010EF14 0010AD54 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8010EF18 0010AD58 4B FF 91 39 */ bl FreeChannel__Q44nw4r3snd6detail7ChannelFPQ44nw4r3snd6detail7Channel
2022-10-16 16:05:58 +00:00
/* 8010EF1C 0010AD5C 83 FF 00 D4 */ lwz r31, 0xd4(r31)
.global lbl_8010EF20
lbl_8010EF20:
/* 8010EF20 0010AD60 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8010EF24 0010AD64 40 82 FF F0 */ bne lbl_8010EF14
/* 8010EF28 0010AD68 38 00 00 00 */ li r0, 0x0
/* 8010EF2C 0010AD6C 90 1E 00 C8 */ stw r0, 0xc8(r30)
2022-10-16 16:31:36 +00:00
/* 8010EF30 0010AD70 48 00 5D B1 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EF34 0010AD74 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EF38 0010AD78 4B F1 3D 49 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010EF3C 0010AD7C 38 00 00 01 */ li r0, 0x1
/* 8010EF40 0010AD80 98 1E 00 48 */ stb r0, 0x48(r30)
/* 8010EF44 0010AD84 48 00 00 0C */ b lbl_8010EF50
.global lbl_8010EF48
lbl_8010EF48:
/* 8010EF48 0010AD88 38 00 00 01 */ li r0, 0x1
/* 8010EF4C 0010AD8C 98 1E 00 48 */ stb r0, 0x48(r30)
.global lbl_8010EF50
lbl_8010EF50:
2022-10-16 16:31:36 +00:00
/* 8010EF50 0010AD90 48 00 5D 91 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EF54 0010AD94 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EF58 0010AD98 4B F1 3D 29 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010EF5C 0010AD9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010EF60 0010ADA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010EF64 0010ADA4 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8010EF68 0010ADA8 7C 08 03 A6 */ mtlr r0
/* 8010EF6C 0010ADAC 38 21 00 10 */ addi r1, r1, 0x10
/* 8010EF70 0010ADB0 4E 80 00 20 */ blr
/* 8010EF74 0010ADB4 00 00 00 00 */ .4byte 0x00000000
/* 8010EF78 0010ADB8 00 00 00 00 */ .4byte 0x00000000
/* 8010EF7C 0010ADBC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetVariablePtr__Q44nw4r3snd6detail8SeqTrackFi
GetVariablePtr__Q44nw4r3snd6detail8SeqTrackFi:
2022-10-16 16:05:58 +00:00
/* 8010EF80 0010ADC0 2C 04 00 10 */ cmpwi r4, 0x10
/* 8010EF84 0010ADC4 40 80 00 14 */ bge lbl_8010EF98
/* 8010EF88 0010ADC8 54 80 08 3C */ slwi r0, r4, 1
/* 8010EF8C 0010ADCC 7C 63 02 14 */ add r3, r3, r0
/* 8010EF90 0010ADD0 38 63 00 A4 */ addi r3, r3, 0xa4
/* 8010EF94 0010ADD4 4E 80 00 20 */ blr
.global lbl_8010EF98
lbl_8010EF98:
/* 8010EF98 0010ADD8 38 60 00 00 */ li r3, 0x0
/* 8010EF9C 0010ADDC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global NoteOn__Q44nw4r3snd6detail8SeqTrackFiilb
NoteOn__Q44nw4r3snd6detail8SeqTrackFiilb:
2022-10-16 16:05:58 +00:00
/* 8010EFA0 0010ADE0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8010EFA4 0010ADE4 7C 08 02 A6 */ mflr r0
/* 8010EFA8 0010ADE8 90 01 00 74 */ stw r0, 0x74(r1)
/* 8010EFAC 0010ADEC 39 61 00 70 */ addi r11, r1, 0x70
/* 8010EFB0 0010ADF0 4B EF 83 85 */ bl lbl_80007334
/* 8010EFB4 0010ADF4 3C 00 43 30 */ lis r0, 0x4330
/* 8010EFB8 0010ADF8 90 01 00 30 */ stw r0, 0x30(r1)
/* 8010EFBC 0010ADFC 7C 79 1B 78 */ mr r25, r3
/* 8010EFC0 0010AE00 7C 9A 23 78 */ mr r26, r4
/* 8010EFC4 0010AE04 90 01 00 38 */ stw r0, 0x38(r1)
/* 8010EFC8 0010AE08 7C BB 2B 78 */ mr r27, r5
/* 8010EFCC 0010AE0C 7C DC 33 78 */ mr r28, r6
/* 8010EFD0 0010AE10 7C FD 3B 78 */ mr r29, r7
2022-10-16 16:31:36 +00:00
/* 8010EFD4 0010AE14 48 00 5D 0D */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010EFD8 0010AE18 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010EFDC 0010AE1C 4B F1 3B C5 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010EFE0 0010AE20 88 19 00 89 */ lbz r0, 0x89(r25)
/* 8010EFE4 0010AE24 3C 60 81 02 */ lis r3, 0x81020409@ha
/* 8010EFE8 0010AE28 38 63 04 09 */ addi r3, r3, 0x81020409@l
/* 8010EFEC 0010AE2C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8010EFF0 0010AE30 7C 1B 01 D6 */ mullw r0, r27, r0
/* 8010EFF4 0010AE34 83 F9 00 C4 */ lwz r31, 0xc4(r25)
/* 8010EFF8 0010AE38 3B C0 00 00 */ li r30, 0x0
/* 8010EFFC 0010AE3C 7C 63 00 96 */ mulhw r3, r3, r0
/* 8010F000 0010AE40 7C 03 02 14 */ add r0, r3, r0
/* 8010F004 0010AE44 7C 00 36 70 */ srawi r0, r0, 6
/* 8010F008 0010AE48 54 03 0F FE */ srwi r3, r0, 31
/* 8010F00C 0010AE4C 7F 60 1A 14 */ add r27, r0, r3
/* 8010F010 0010AE50 41 82 00 3C */ beq lbl_8010F04C
/* 8010F014 0010AE54 83 D9 00 C8 */ lwz r30, 0xc8(r25)
/* 8010F018 0010AE58 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010F01C 0010AE5C 41 82 00 30 */ beq lbl_8010F04C
/* 8010F020 0010AE60 6F 60 80 00 */ xoris r0, r27, 0x8000
/* 8010F024 0010AE64 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010F028 0010AE68 57 40 06 3E */ clrlwi r0, r26, 24
2022-10-16 16:31:36 +00:00
/* 8010F02C 0010AE6C C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F030 0010AE70 C8 21 00 30 */ lfd f1, 0x30(r1)
2022-10-16 16:31:36 +00:00
/* 8010F034 0010AE74 C0 02 94 18 */ lfs f0, "@10956"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F038 0010AE78 EC 21 10 28 */ fsubs f1, f1, f2
/* 8010F03C 0010AE7C 90 1E 00 A8 */ stw r0, 0xa8(r30)
/* 8010F040 0010AE80 EC 01 00 24 */ fdivs f0, f1, f0
/* 8010F044 0010AE84 EC 00 00 32 */ fmuls f0, f0, f0
/* 8010F048 0010AE88 D0 1E 00 90 */ stfs f0, 0x90(r30)
.global lbl_8010F04C
lbl_8010F04C:
/* 8010F04C 0010AE8C 88 19 00 27 */ lbz r0, 0x27(r25)
/* 8010F050 0010AE90 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010F054 0010AE94 41 82 00 5C */ beq lbl_8010F0B0
/* 8010F058 0010AE98 83 D9 00 C8 */ lwz r30, 0xc8(r25)
/* 8010F05C 0010AE9C 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010F060 0010AEA0 41 82 00 50 */ beq lbl_8010F0B0
/* 8010F064 0010AEA4 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 8010F068 0010AEA8 2C 00 00 04 */ cmpwi r0, 0x4
/* 8010F06C 0010AEAC 40 82 00 14 */ bne lbl_8010F080
/* 8010F070 0010AEB0 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F074 0010AEB4 4B FF 8B 2D */ bl Stop__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
/* 8010F078 0010AEB8 3B C0 00 00 */ li r30, 0x0
/* 8010F07C 0010AEBC 48 00 00 34 */ b lbl_8010F0B0
.global lbl_8010F080
lbl_8010F080:
/* 8010F080 0010AEC0 6F 60 80 00 */ xoris r0, r27, 0x8000
/* 8010F084 0010AEC4 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8010F088 0010AEC8 57 40 06 3E */ clrlwi r0, r26, 24
2022-10-16 16:31:36 +00:00
/* 8010F08C 0010AECC C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F090 0010AED0 C8 21 00 38 */ lfd f1, 0x38(r1)
2022-10-16 16:31:36 +00:00
/* 8010F094 0010AED4 C0 02 94 18 */ lfs f0, "@10956"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F098 0010AED8 EC 21 10 28 */ fsubs f1, f1, f2
/* 8010F09C 0010AEDC 90 1E 00 A8 */ stw r0, 0xa8(r30)
/* 8010F0A0 0010AEE0 EC 01 00 24 */ fdivs f0, f1, f0
/* 8010F0A4 0010AEE4 EC 00 00 32 */ fmuls f0, f0, f0
/* 8010F0A8 0010AEE8 D0 1E 00 90 */ stfs f0, 0x90(r30)
/* 8010F0AC 0010AEEC 93 9E 00 B0 */ stw r28, 0xb0(r30)
.global lbl_8010F0B0
lbl_8010F0B0:
/* 8010F0B0 0010AEF0 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8010F0B4 0010AEF4 40 82 01 28 */ bne lbl_8010F1DC
2022-10-16 16:31:36 +00:00
/* 8010F0B8 0010AEF8 3C 60 80 41 */ lis r3, "@9834"@ha
/* 8010F0BC 0010AEFC 85 63 B6 80 */ lwzu r11, "@9834"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8010F0C0 0010AF00 91 61 00 08 */ stw r11, 0x8(r1)
/* 8010F0C4 0010AF04 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8010F0C8 0010AF08 81 43 00 04 */ lwz r10, 0x4(r3)
/* 8010F0CC 0010AF0C 38 00 FF FF */ li r0, -0x1
/* 8010F0D0 0010AF10 81 23 00 08 */ lwz r9, 0x8(r3)
/* 8010F0D4 0010AF14 81 03 00 0C */ lwz r8, 0xc(r3)
/* 8010F0D8 0010AF18 80 E3 00 10 */ lwz r7, 0x10(r3)
/* 8010F0DC 0010AF1C 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 8010F0E0 0010AF20 80 A3 00 18 */ lwz r5, 0x18(r3)
/* 8010F0E4 0010AF24 80 83 00 1C */ lwz r4, 0x1c(r3)
/* 8010F0E8 0010AF28 80 63 00 20 */ lwz r3, 0x20(r3)
/* 8010F0EC 0010AF2C 91 41 00 0C */ stw r10, 0xc(r1)
/* 8010F0F0 0010AF30 91 21 00 10 */ stw r9, 0x10(r1)
/* 8010F0F4 0010AF34 91 01 00 14 */ stw r8, 0x14(r1)
/* 8010F0F8 0010AF38 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8010F0FC 0010AF3C 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 8010F100 0010AF40 90 A1 00 20 */ stw r5, 0x20(r1)
/* 8010F104 0010AF44 90 81 00 24 */ stw r4, 0x24(r1)
/* 8010F108 0010AF48 90 61 00 28 */ stw r3, 0x28(r1)
/* 8010F10C 0010AF4C 80 79 00 54 */ lwz r3, 0x54(r25)
/* 8010F110 0010AF50 90 61 00 08 */ stw r3, 0x8(r1)
/* 8010F114 0010AF54 93 41 00 0C */ stw r26, 0xc(r1)
/* 8010F118 0010AF58 93 61 00 10 */ stw r27, 0x10(r1)
/* 8010F11C 0010AF5C 40 82 00 08 */ bne lbl_8010F124
/* 8010F120 0010AF60 7F 80 E3 78 */ mr r0, r28
.global lbl_8010F124
lbl_8010F124:
/* 8010F124 0010AF64 90 01 00 14 */ stw r0, 0x14(r1)
/* 8010F128 0010AF68 38 A1 00 08 */ addi r5, r1, 0x8
/* 8010F12C 0010AF6C 88 19 00 8B */ lbz r0, 0x8b(r25)
/* 8010F130 0010AF70 7C 00 07 74 */ extsb r0, r0
/* 8010F134 0010AF74 90 01 00 18 */ stw r0, 0x18(r1)
/* 8010F138 0010AF78 88 7F 00 E9 */ lbz r3, 0xe9(r31)
/* 8010F13C 0010AF7C 88 19 00 8D */ lbz r0, 0x8d(r25)
/* 8010F140 0010AF80 7C 03 02 14 */ add r0, r3, r0
/* 8010F144 0010AF84 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010F148 0010AF88 80 79 00 C4 */ lwz r3, 0xc4(r25)
/* 8010F14C 0010AF8C 80 03 00 E4 */ lwz r0, 0xe4(r3)
/* 8010F150 0010AF90 90 01 00 20 */ stw r0, 0x20(r1)
/* 8010F154 0010AF94 93 21 00 28 */ stw r25, 0x28(r1)
/* 8010F158 0010AF98 80 99 00 50 */ lwz r4, 0x50(r25)
2022-10-16 16:31:36 +00:00
/* 8010F15C 0010AF9C 4B FF E5 55 */ bl NoteOn__Q44nw4r3snd6detail9SeqPlayerFiRCQ44nw4r3snd6detail10NoteOnInfo
2022-10-16 16:05:58 +00:00
/* 8010F160 0010AFA0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8010F164 0010AFA4 7C 7E 1B 78 */ mr r30, r3
/* 8010F168 0010AFA8 40 82 00 18 */ bne lbl_8010F180
2022-10-16 16:31:36 +00:00
/* 8010F16C 0010AFAC 48 00 5B 75 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010F170 0010AFB0 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010F174 0010AFB4 4B F1 3B 0D */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010F178 0010AFB8 38 60 00 00 */ li r3, 0x0
/* 8010F17C 0010AFBC 48 00 02 14 */ b lbl_8010F390
.global lbl_8010F180
lbl_8010F180:
/* 8010F180 0010AFC0 80 03 00 BC */ lwz r0, 0xbc(r3)
/* 8010F184 0010AFC4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010F188 0010AFC8 40 81 00 30 */ ble lbl_8010F1B8
/* 8010F18C 0010AFCC 83 79 00 C8 */ lwz r27, 0xc8(r25)
/* 8010F190 0010AFD0 48 00 00 20 */ b lbl_8010F1B0
.global lbl_8010F194
lbl_8010F194:
/* 8010F194 0010AFD4 80 7B 00 BC */ lwz r3, 0xbc(r27)
/* 8010F198 0010AFD8 80 1E 00 BC */ lwz r0, 0xbc(r30)
/* 8010F19C 0010AFDC 7C 03 00 00 */ cmpw r3, r0
/* 8010F1A0 0010AFE0 40 82 00 0C */ bne lbl_8010F1AC
/* 8010F1A4 0010AFE4 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 8010F1A8 0010AFE8 4B FF 89 09 */ bl Release__Q44nw4r3snd6detail7ChannelFv
2022-10-16 16:05:58 +00:00
.global lbl_8010F1AC
lbl_8010F1AC:
/* 8010F1AC 0010AFEC 83 7B 00 D4 */ lwz r27, 0xd4(r27)
.global lbl_8010F1B0
lbl_8010F1B0:
/* 8010F1B0 0010AFF0 2C 1B 00 00 */ cmpwi r27, 0x0
/* 8010F1B4 0010AFF4 40 82 FF E0 */ bne lbl_8010F194
.global lbl_8010F1B8
lbl_8010F1B8:
2022-10-16 16:31:36 +00:00
/* 8010F1B8 0010AFF8 48 00 5B 29 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010F1BC 0010AFFC 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010F1C0 0010B000 4B F1 39 E1 */ bl OSLockMutex
2022-10-16 16:05:58 +00:00
/* 8010F1C4 0010B004 80 19 00 C8 */ lwz r0, 0xc8(r25)
/* 8010F1C8 0010B008 90 1E 00 D4 */ stw r0, 0xd4(r30)
/* 8010F1CC 0010B00C 93 D9 00 C8 */ stw r30, 0xc8(r25)
2022-10-16 16:31:36 +00:00
/* 8010F1D0 0010B010 48 00 5B 11 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010F1D4 0010B014 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010F1D8 0010B018 4B F1 3A A9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
.global lbl_8010F1DC
lbl_8010F1DC:
/* 8010F1DC 0010B01C 88 99 00 90 */ lbz r4, 0x90(r25)
/* 8010F1E0 0010B020 28 04 00 7F */ cmplwi r4, 0x7f
/* 8010F1E4 0010B024 41 81 00 0C */ bgt lbl_8010F1F0
/* 8010F1E8 0010B028 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F1EC 0010B02C 4B FF 9B 85 */ bl SetAttack__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010F1F0
lbl_8010F1F0:
/* 8010F1F0 0010B030 88 99 00 91 */ lbz r4, 0x91(r25)
/* 8010F1F4 0010B034 28 04 00 7F */ cmplwi r4, 0x7f
/* 8010F1F8 0010B038 41 81 00 0C */ bgt lbl_8010F204
/* 8010F1FC 0010B03C 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F200 0010B040 4B FF 9B B1 */ bl SetDecay__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010F204
lbl_8010F204:
/* 8010F204 0010B044 88 99 00 92 */ lbz r4, 0x92(r25)
/* 8010F208 0010B048 28 04 00 7F */ cmplwi r4, 0x7f
/* 8010F20C 0010B04C 41 81 00 0C */ bgt lbl_8010F218
/* 8010F210 0010B050 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F214 0010B054 4B FF 9C 3D */ bl SetSustain__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010F218
lbl_8010F218:
/* 8010F218 0010B058 88 99 00 93 */ lbz r4, 0x93(r25)
/* 8010F21C 0010B05C 28 04 00 7F */ cmplwi r4, 0x7f
/* 8010F220 0010B060 41 81 00 0C */ bgt lbl_8010F22C
/* 8010F224 0010B064 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F228 0010B068 4B FF 9C 39 */ bl SetRelease__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010F22C
lbl_8010F22C:
/* 8010F22C 0010B06C A8 99 00 94 */ lha r4, 0x94(r25)
/* 8010F230 0010B070 2C 04 00 7F */ cmpwi r4, 0x7f
/* 8010F234 0010B074 41 81 00 0C */ bgt lbl_8010F240
/* 8010F238 0010B078 7F C3 F3 78 */ mr r3, r30
2022-10-16 16:31:36 +00:00
/* 8010F23C 0010B07C 4B FF 9B 55 */ bl SetHold__Q44nw4r3snd6detail12EnvGeneratorFi
2022-10-16 16:05:58 +00:00
.global lbl_8010F240
lbl_8010F240:
/* 8010F240 0010B080 88 19 00 4B */ lbz r0, 0x4b(r25)
/* 8010F244 0010B084 C0 39 00 6C */ lfs f1, 0x6c(r25)
/* 8010F248 0010B088 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010F24C 0010B08C 41 82 00 24 */ beq lbl_8010F270
/* 8010F250 0010B090 88 19 00 8E */ lbz r0, 0x8e(r25)
2022-10-16 16:31:36 +00:00
/* 8010F254 0010B094 C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F258 0010B098 7C 1A 00 50 */ subf r0, r26, r0
/* 8010F25C 0010B09C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8010F260 0010B0A0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010F264 0010B0A4 C8 01 00 30 */ lfd f0, 0x30(r1)
/* 8010F268 0010B0A8 EC 00 10 28 */ fsubs f0, f0, f2
/* 8010F26C 0010B0AC EC 21 00 2A */ fadds f1, f1, f0
.global lbl_8010F270
lbl_8010F270:
/* 8010F270 0010B0B0 88 19 00 8F */ lbz r0, 0x8f(r25)
/* 8010F274 0010B0B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8010F278 0010B0B8 40 82 00 18 */ bne lbl_8010F290
/* 8010F27C 0010B0BC 7F C3 F3 78 */ mr r3, r30
/* 8010F280 0010B0C0 7F 84 E3 78 */ mr r4, r28
/* 8010F284 0010B0C4 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 8010F288 0010B0C8 4B FF 8A 69 */ bl SetSweepParam__Q44nw4r3snd6detail7ChannelFfib
2022-10-16 16:05:58 +00:00
/* 8010F28C 0010B0CC 48 00 00 60 */ b lbl_8010F2EC
.global lbl_8010F290
lbl_8010F290:
2022-10-16 16:31:36 +00:00
/* 8010F290 0010B0D0 C0 02 94 14 */ lfs f0, "@10624"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F294 0010B0D4 7C 00 01 D6 */ mullw r0, r0, r0
/* 8010F298 0010B0D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8010F29C 0010B0DC 4C 41 13 82 */ cror eq, gt, eq
/* 8010F2A0 0010B0E0 40 82 00 0C */ bne lbl_8010F2AC
/* 8010F2A4 0010B0E4 FC 60 08 90 */ fmr f3, f1
/* 8010F2A8 0010B0E8 48 00 00 08 */ b lbl_8010F2B0
.global lbl_8010F2AC
lbl_8010F2AC:
/* 8010F2AC 0010B0EC FC 60 08 50 */ fneg f3, f1
.global lbl_8010F2B0
lbl_8010F2B0:
/* 8010F2B0 0010B0F0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8010F2B4 0010B0F4 90 01 00 3C */ stw r0, 0x3c(r1)
2022-10-16 16:31:36 +00:00
/* 8010F2B8 0010B0F8 C8 42 94 38 */ lfd f2, "@10965"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8010F2BC 0010B0FC 7F C3 F3 78 */ mr r3, r30
/* 8010F2C0 0010B100 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 8010F2C4 0010B104 38 A0 00 01 */ li r5, 0x1
/* 8010F2C8 0010B108 EC 00 10 28 */ fsubs f0, f0, f2
/* 8010F2CC 0010B10C EC 00 00 F2 */ fmuls f0, f0, f3
/* 8010F2D0 0010B110 FC 00 00 1E */ fctiwz f0, f0
/* 8010F2D4 0010B114 D8 01 00 40 */ stfd f0, 0x40(r1)
/* 8010F2D8 0010B118 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8010F2DC 0010B11C 7C 04 2E 70 */ srawi r4, r0, 5
/* 8010F2E0 0010B120 54 80 10 3A */ slwi r0, r4, 2
/* 8010F2E4 0010B124 7C 80 22 14 */ add r4, r0, r4
2022-10-16 16:31:36 +00:00
/* 8010F2E8 0010B128 4B FF 8A 09 */ bl SetSweepParam__Q44nw4r3snd6detail7ChannelFfib
2022-10-16 16:05:58 +00:00
.global lbl_8010F2EC
lbl_8010F2EC:
/* 8010F2EC 0010B12C 9B 59 00 8E */ stb r26, 0x8e(r25)
/* 8010F2F0 0010B130 88 79 00 49 */ lbz r3, 0x49(r25)
/* 8010F2F4 0010B134 A0 BE 00 A2 */ lhz r5, 0xa2(r30)
/* 8010F2F8 0010B138 A0 9E 00 A4 */ lhz r4, 0xa4(r30)
/* 8010F2FC 0010B13C 7C 03 00 D0 */ neg r0, r3
/* 8010F300 0010B140 7C 00 1B 78 */ or r0, r0, r3
/* 8010F304 0010B144 7C 04 28 40 */ cmplw r4, r5
/* 8010F308 0010B148 54 03 0F FE */ srwi r3, r0, 31
/* 8010F30C 0010B14C 41 80 00 0C */ blt lbl_8010F318
/* 8010F310 0010B150 88 9E 00 A1 */ lbz r4, 0xa1(r30)
/* 8010F314 0010B154 48 00 00 20 */ b lbl_8010F334
.global lbl_8010F318
lbl_8010F318:
/* 8010F318 0010B158 88 DE 00 A0 */ lbz r6, 0xa0(r30)
/* 8010F31C 0010B15C 88 1E 00 A1 */ lbz r0, 0xa1(r30)
/* 8010F320 0010B160 7C 06 00 50 */ subf r0, r6, r0
/* 8010F324 0010B164 7C 04 01 D6 */ mullw r0, r4, r0
/* 8010F328 0010B168 7C 00 2B D6 */ divw r0, r0, r5
/* 8010F32C 0010B16C 7C 06 02 14 */ add r0, r6, r0
/* 8010F330 0010B170 54 04 06 3E */ clrlwi r4, r0, 24
.global lbl_8010F334
lbl_8010F334:
/* 8010F334 0010B174 7C 03 00 D0 */ neg r0, r3
/* 8010F338 0010B178 98 9E 00 A0 */ stb r4, 0xa0(r30)
/* 8010F33C 0010B17C 7C 00 1B 78 */ or r0, r0, r3
/* 8010F340 0010B180 38 60 00 FF */ li r3, 0xff
/* 8010F344 0010B184 7C 04 FE 70 */ srawi r4, r0, 31
/* 8010F348 0010B188 7C 63 20 78 */ andc r3, r3, r4
/* 8010F34C 0010B18C 98 7E 00 A1 */ stb r3, 0xa1(r30)
/* 8010F350 0010B190 38 00 00 00 */ li r0, 0x0
/* 8010F354 0010B194 B0 1E 00 A2 */ sth r0, 0xa2(r30)
/* 8010F358 0010B198 B0 1E 00 A4 */ sth r0, 0xa4(r30)
/* 8010F35C 0010B19C 80 79 00 C4 */ lwz r3, 0xc4(r25)
/* 8010F360 0010B1A0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8010F364 0010B1A4 98 1E 00 39 */ stb r0, 0x39(r30)
/* 8010F368 0010B1A8 80 79 00 C4 */ lwz r3, 0xc4(r25)
/* 8010F36C 0010B1AC 80 03 00 2C */ lwz r0, 0x2c(r3)
/* 8010F370 0010B1B0 90 1E 00 B4 */ stw r0, 0xb4(r30)
/* 8010F374 0010B1B4 80 79 00 C4 */ lwz r3, 0xc4(r25)
/* 8010F378 0010B1B8 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8010F37C 0010B1BC 90 1E 00 B8 */ stw r0, 0xb8(r30)
2022-10-16 16:31:36 +00:00
/* 8010F380 0010B1C0 48 00 59 61 */ bl GetInstance__Q44nw4r3snd6detail11SoundThreadFv
2022-10-16 16:05:58 +00:00
/* 8010F384 0010B1C4 38 63 03 54 */ addi r3, r3, 0x354
2022-10-16 16:31:36 +00:00
/* 8010F388 0010B1C8 4B F1 38 F9 */ bl OSUnlockMutex
2022-10-16 16:05:58 +00:00
/* 8010F38C 0010B1CC 7F C3 F3 78 */ mr r3, r30
.global lbl_8010F390
lbl_8010F390:
/* 8010F390 0010B1D0 39 61 00 70 */ addi r11, r1, 0x70
/* 8010F394 0010B1D4 4B EF 7F ED */ bl lbl_80007380
/* 8010F398 0010B1D8 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8010F39C 0010B1DC 7C 08 03 A6 */ mtlr r0
/* 8010F3A0 0010B1E0 38 21 00 70 */ addi r1, r1, 0x70
/* 8010F3A4 0010B1E4 4E 80 00 20 */ blr
/* 8010F3A8 0010B1E8 00 00 00 00 */ .4byte 0x00000000
/* 8010F3AC 0010B1EC 00 00 00 00 */ .4byte 0x00000000
2022-10-17 08:54:32 +00:00
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global "@9834"
"@9834":
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte ChannelCallbackFunc__Q44nw4r3snd6detail8SeqTrackFPQ44nw4r3snd6detail7ChannelQ54nw4r3snd6detail7Channel21ChannelCallbackStatusUl
.4byte 0
.4byte 0
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global __vt__Q44nw4r3snd6detail8SeqTrack
__vt__Q44nw4r3snd6detail8SeqTrack:
.4byte 0
.4byte 0
.4byte __dt__Q44nw4r3snd6detail8SeqTrackFv
.4byte 0
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@10623"
"@10623":
.4byte 0x3F800000
.global "@10624"
"@10624":
.4byte 0
.global "@10956"
"@10956":
.4byte 0x42FE0000
.global "@10957"
"@10957":
.4byte 0x3C000000
.global "@10958"
"@10958":
.4byte 0x427C0000
.global "@10959"
"@10959":
.4byte 0xBF800000
.global "@10960"
"@10960":
.4byte 0x40000000
.4byte 0
.global "@10964"
"@10964":
.4byte 0x43300000
.4byte 0
.global "@10965"
"@10965":
.4byte 0x43300000
.4byte 0x80000000