//
// FMOD::DSPConnection::setMix from 0x8a934 to 0x8a9a2 (110 bytes)
//
// 1 xrefs:
// > FMOD::DSPConnection::setMix @ 0xe1038
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:23 +0000
//
int __fastcall FMOD::DSPConnection::setMix(FMOD::DSPConnection *this, float a2)
{
int v3; // r5
int v5; // r6
__int16 v7[128]; // [sp+8h] [bp-118h] BYREF
int v8; // [sp+108h] [bp-18h] BYREF
int v9; // [sp+10Ch] [bp-14h] BYREF
v3 = 0;
v8 = 0;
v5 = sub_8D300(this, &v9, &v8);
if ( v5 || (v5 = sub_8E614(v9, LODWORD(a2), 64, 1, 0)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_5C934(v7, 256, a2);
sub_BAB40(v5, 8, this, "DSPConnection::setMix", v7);
}
v3 = v5;
}
sub_444C0(&v8);
return v3;
}