//
// sub_AB782 from 0xab782 to 0xab7b0 (46 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getParameterInfo @ 0xb1eba
//
// 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:38 +0000
//
int __fastcall sub_AB782(int a1, int a2, _DWORD *a3)
{
int v3; // r3
int result; // r0
int v5; // r0
if ( a2 < 0 )
return 31;
v3 = *(_DWORD *)(a1 + 164);
if ( !v3 )
return 31;
result = 31;
if ( a3 && *(_DWORD *)(v3 + 72) > a2 )
{
v5 = *(_DWORD *)(v3 + 76);
if ( v5 )
{
*a3 = *(_DWORD *)(v5 + 4 * a2);
return 0;
}
else
{
return 53;
}
}
return result;
}