//
// sub_180096EF0 from 0x180096ef0 to 0x180096f4a (90 bytes)
//
// 2 xrefs:
// > sub_18000E700 @ 0x18000e93b
// > FMOD::DSP::getDataParameterIndex @ 0x1800a1b14
//
// 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_180096EF0(__int64 a1, int a2, _DWORD *a3)
{
__int64 v3; // r10
int v4; // r9d
__int64 i; // r11
int v6; // eax
_DWORD *v7; // rcx
v3 = *(_QWORD *)(a1 + 232);
v4 = 0;
for ( i = 0; ; i += 8 )
{
v6 = v3 ? *(_DWORD *)(v3 + 96) : 0;
if ( v4 >= v6 )
break;
v7 = *(_DWORD **)(i + *(_QWORD *)(v3 + 104));
if ( *v7 == 3 && v7[12] == a2 )
{
if ( a3 )
*a3 = v4;
return 0;
}
++v4;
}
if ( a3 )
*a3 = -1;
return 31;
}