//
// FMOD::DSP::getDataParameterIndex from 0xb1f44 to 0xb1fae (106 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getDataParameterIndex @ 0xe0f68
//
// 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::getDataParameterIndex(FMOD::DSP *this, 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_A72FA(v9, a2, a3);
if ( !v6 )
return 0;
}
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_B1FB8(v8, 256, a2, a3);
sub_BAB40(v6, 7, this, "DSP::getDataParameterIndex", v8);
}
return v6;
}