//
// FMOD::DSPConnection::setMixMatrix from 0xa8a8c to 0xa8b3c (176 bytes)
//
// 4 xrefs:
// > FMOD::DSPConnection::setMixMatrix @ 0x107c5c
// > ??> @ 0x80b0
// > FMOD::DSPConnection::setMixMatrix @ 0x107c54
// > ??> @ 0x1106f0
//
// 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:33 +0000
//
__int64 __fastcall FMOD::DSPConnection::setMixMatrix(FMOD::DSPConnection *this, float *a2, unsigned int a3)
{
__int64 v3; // x19
__int64 v4; // x24
__int64 v6; // x0
unsigned int v7; // w4
unsigned int v8; // w20
unsigned int v9; // w3
unsigned int v10; // w21
unsigned int v11; // w23
char v12; // w8
_BYTE v14[256]; // [xsp+8h] [xbp-148h] BYREF
_QWORD v15[3]; // [xsp+108h] [xbp-48h] BYREF
__int64 v16; // [xsp+148h] [xbp-8h]
v6 = sub_A8F0C(this, a2);
v16 = v3;
v8 = v7;
v10 = v9;
v11 = sub_A8F00(v6);
if ( v11 || (v11 = sub_AC1D8(v15[2], v4, a3, v10, v8, 64, 1)) != 0 )
{
sub_A8EA0();
if ( v12 < 0 )
{
sub_A8B3C(v14, 256, v4, a3, v10, v8);
sub_DF504(v11, 8, v3, "DSPConnection::setMixMatrix", v14);
}
}
sub_51968(v15);
return v11;
}