//
// FMOD::ChannelControl::setMixMatrix from 0xd01a8 to 0xd0258 (176 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::setMixMatrix @ 0x1074fc
// > ??> @ 0x1ff0
// > FMOD::ChannelControl::setMixMatrix @ 0x1074f4
// > ??> @ 0x110340
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:50 +0000
//
__int64 __fastcall FMOD::ChannelControl::setMixMatrix(FMOD::ChannelControl *this, float *a2, unsigned int a3)
{
float *v3; // x24
__int64 v5; // x0
unsigned int v6; // w4
unsigned int v7; // w20
unsigned int v8; // w3
unsigned int v9; // w21
unsigned int v10; // w23
char v11; // w8
_BYTE v13[256]; // [xsp+8h] [xbp-148h] BYREF
__int64 v14; // [xsp+108h] [xbp-48h] BYREF
__int64 v15; // [xsp+118h] [xbp-38h]
v5 = sub_D1FC0(this, a2);
v7 = v6;
v9 = v8;
v10 = sub_D1FE8(v5);
if ( v10
|| (v10 = (*(__int64 (__fastcall **)(__int64, float *, _QWORD, _QWORD, _QWORD, __int64))(*(_QWORD *)v15 + 200LL))(
v15,
v3,
a3,
v9,
v7,
1)) != 0 )
{
sub_D1CCC();
if ( v11 < 0 )
{
sub_A8B3C((__int64)v13, 256, v3, a3, v9, v7);
sub_D1D58(v10, 4);
}
}
sub_51968(&v14);
return v10;
}