//
// sub_1005CE3C8 from 0x1005ce3c8 to 0x1005ce410 (72 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getParameterInfo @ 0x1005acda0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:09:29 +0000
//
__int64 __fastcall sub_1005CE3C8(__int64 a1, unsigned int a2, _QWORD *a3)
{
__int64 v3; // x8
__int64 result; // x0
__int64 v5; // x8
if ( (a2 & 0x80000000) != 0 )
return 31;
v3 = *(_QWORD *)(a1 + 232);
if ( !v3 )
return 31;
result = 31;
if ( a3 && *(_DWORD *)(v3 + 96) > (signed int)a2 )
{
v5 = *(_QWORD *)(v3 + 104);
if ( v5 )
{
result = 0;
*a3 = *(_QWORD *)(v5 + 8LL * a2);
}
else
{
return 53;
}
}
return result;
}