//
// FMOD::DSP::setParameterBool from 0x1005ac3d4 to 0x1005ac4ec (280 bytes)
//
// 3 xrefs:
// > FMODAudioEngine::setupAudioEngine @ 0x1001b50b0
// > FMODAudioEngine::setupAudioEngine @ 0x1001b50f4
// > sub_10057A310 @ 0x10057a31c
//
// 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:08 +0000
//
__int64 __fastcall FMOD::DSP::setParameterBool(__int64 a1, __int64 a2, __int64 a3)
{
int v6; // w3
int v7; // w4
int v8; // w5
int v9; // w6
int v10; // w7
__int64 v11; // x20
int v12; // w0
__int64 v13; // x22
int v14; // w3
int v15; // w4
int v16; // w5
int v17; // w6
int v18; // w7
int v19; // w0
__int64 v21; // [xsp+0h] [xbp-150h] BYREF
_BYTE v22[256]; // [xsp+8h] [xbp-148h] BYREF
v11 = sub_1005C9F18(a1, &v21, 0);
if ( (_DWORD)v11 || (v11 = sub_1005CDC30(v21, a2, a3), (_DWORD)v11) )
{
if ( (*((_BYTE *)off_1009DA5E8 + 32) & 0x80) != 0 )
{
v12 = sub_10055BE44(v22, 0x100u, a2, v6, v7, v8, v9, v10);
v13 = v12;
v19 = sub_10055C01C(&v22[v12], (unsigned int)(256 - v12), ", ", v14, v15, v16, v17, v18);
sub_10055BF8C(&v22[v13 + v19], (unsigned int)(256 - (v13 + v19)), a3);
sub_1005AAA04(v11, 7, a1, (__int64)"DSP::setParameterBool", (__int64)v22);
}
}
return v11;
}