//
// sub_180097E40 from 0x180097e40 to 0x180097e7c (60 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getParameterInfo @ 0x1800a2e24
//
// 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 sub_180097E40(__int64 a1, int a2, _QWORD *a3)
{
__int64 v3; // rax
__int64 v4; // rcx
if ( a2 < 0 )
return 31;
v3 = *(_QWORD *)(a1 + 232);
if ( !v3 || a2 >= *(_DWORD *)(v3 + 96) || !a3 )
return 31;
v4 = *(_QWORD *)(v3 + 104);
if ( !v4 )
return 53;
*a3 = *(_QWORD *)(v4 + 8LL * a2);
return 0;
}