//
// FMOD::ChannelControl::getMixMatrix from 0xd0258 to 0xd0304 (172 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::getMixMatrix @ 0x10750c
// > ??> @ 0xe50
// > FMOD::ChannelControl::getMixMatrix @ 0x107504
// > ??> @ 0x110348
//
// 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::getMixMatrix(FMOD::ChannelControl *this, float *a2, int *a3, int *a4)
{
float *v4; // x24
__int64 v6; // x0
unsigned int v7; // w4
unsigned int v8; // w20
_DWORD *v9; // x3
_DWORD *v10; // x22
unsigned int v11; // w21
char v12; // w8
_BYTE v14[256]; // [xsp+8h] [xbp-148h] BYREF
__int64 v15; // [xsp+108h] [xbp-48h] BYREF
__int64 v16; // [xsp+118h] [xbp-38h]
v6 = sub_D1FC0(this, a2);
v8 = v7;
v10 = v9;
v11 = sub_D1FE8(v6);
if ( v11
|| (v11 = (*(__int64 (__fastcall **)(__int64, float *, int *, _DWORD *, _QWORD))(*(_QWORD *)v16 + 208LL))(
v16,
v4,
a3,
v10,
v8)) != 0 )
{
sub_D1CCC();
if ( v12 < 0 )
{
sub_A8CB4((__int64)v14, 256, v4, a3, v10, v8);
sub_D1D58(v11, 4);
}
}
sub_51968(&v15);
return v11;
}