//
// FMOD::DSP::setParameterFloat from 0x1800a3d50 to 0x1800a3e53 (259 bytes)
//
// 5 xrefs:
// > FMOD_DSP_SetParameterFloat @ 0x1800c5eb9
// > ??> @ 0x18018637c
// > ??> @ 0x18018638c
// > ??> @ 0x180194348
// > ??> @ 0x1801fb4c0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall FMOD::DSP::setParameterFloat(__int64 a1, unsigned int a2, float a3)
{
int v4; // ebp
unsigned int v5; // esi
__int64 result; // rax
int v7; // ebx
int v8; // eax
__int64 v9; // [rsp+30h] [rbp-148h] BYREF
_BYTE v10[256]; // [rsp+40h] [rbp-138h] BYREF
v4 = a1;
v5 = FMOD::DSPI::validate(a1, &v9, nullptr);
if ( v5 || (result = sub_18009C0C0(v9, a2, a3), (v5 = result) != 0) )
{
if ( *((char *)off_1801AED20 + 16) < 0 )
{
v7 = sub_1800F2EC0(v10, 256, a2);
v8 = sub_1800F2F70(&v10[v7]);
sub_1800F2F20(&v10[v8 + v7], (unsigned int)(256 - (v8 + v7)));
sub_1800B20E0(v5, 7, v4, (unsigned int)"DSP::setParameterFloat", (__int64)v10);
}
return v5;
}
return result;
}