//
// FMOD::DSP::setParameterFloat from 0xb17c0 to 0xb182a (106 bytes)
//
// 2 xrefs:
// > ??> @ 0xb17be
// > FMOD::DSP::setParameterFloat @ 0xe0ec8
//
// 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:41 +0000
//
int __fastcall FMOD::DSP::setParameterFloat(FMOD::DSP *this, unsigned int a2, int a3)
{
int v6; // r5
_BYTE v8[256]; // [sp+4h] [bp-11Ch] BYREF
int v9; // [sp+104h] [bp-1Ch] BYREF
v6 = FMOD::DSPI::validate(this, &v9, nullptr);
if ( !v6 )
{
v6 = sub_AB218(v9, a2, a3);
if ( !v6 )
return 0;
}
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AE084(v8, 256, a2, *(float *)&a3);
sub_BAB40(v6, 7, this, "DSP::setParameterFloat", v8);
}
return v6;
}