//
// sub_ABB96 from 0xabb96 to 0xabbfc (102 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getMeteringEnabled @ 0xb2428
//
// 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
//
int __fastcall sub_ABB96(int a1, unsigned int a2, unsigned int a3)
{
int v6; // r0
char v7; // r0
int v8; // r0
char v9; // r0
int v10; // r4
_DWORD v12[2]; // [sp+4h] [bp-1Ch] BYREF
char v13; // [sp+Ch] [bp-14h]
v12[0] = *(_DWORD *)(a1 + 128);
v12[1] = 7;
v13 = 0;
sub_44998((int)v12);
if ( a2 | a3 )
{
if ( a2 )
{
v6 = *(_DWORD *)(a1 + 372);
if ( v6 )
v7 = *(_BYTE *)(v6 + 530);
else
v7 = 0;
*(_BYTE *)a2 = v7;
}
if ( a3 )
{
v8 = *(_DWORD *)(a1 + 372);
if ( v8 )
v9 = *(_BYTE *)(v8 + 1062);
else
v9 = 0;
*(_BYTE *)a3 = v9;
}
v10 = 0;
}
else
{
v10 = 31;
}
sub_448CC((int)v12);
return v10;
}