//
// FMOD::DSPConnection::setMix from 0x1005b0a24 to 0x1005b0b10 (236 bytes)
//
// 1 xrefs:
// > sub_10057A540 @ 0x10057a544
//
// 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 11:09:10 +0000
//
__int64 __fastcall FMOD::DSPConnection::setMix(__int64 a1, float a2)
{
__int64 v4; // x2
int v5; // w3
int v6; // w4
int v7; // w5
int v8; // w6
int v9; // w7
__int64 v10; // x20
__n128 v11; // q0
__int64 v13; // [xsp+8h] [xbp-148h] BYREF
__int64 v14; // [xsp+10h] [xbp-140h] BYREF
__int16 v15[128]; // [xsp+18h] [xbp-138h] BYREF
v13 = 0;
v10 = sub_100616790(a1, &v14, &v13);
if ( (_DWORD)v10 || (v11.n128_f32[0] = a2, v10 = sub_100618EF4(v14, 64, 1, 0, v11), (_DWORD)v10) )
{
if ( (*((_BYTE *)off_1009DA5E8 + 32) & 0x80) != 0 )
{
sub_10055BF2C(v15, 0x100u, a2, v4, v5, v6, v7, v8, v9);
sub_1005AAA04(v10, 8, a1, (__int64)"DSPConnection::setMix", (__int64)v15);
}
}
if ( v13 )
sub_100568EE8(v13);
return v10;
}