//
// FMOD_DSP_GetMeteringEnabled from 0x1800c5c40 to 0x1800c5ca1 (97 bytes)
//
// 3 xrefs:
// > FMOD5_DSP_GetMeteringEnabled @ 0x1800f4160
// > ??> @ 0x180194348
// > ??> @ 0x1801fdfbc
//
// 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 FMOD_DSP_GetMeteringEnabled(__int64 a1, _DWORD *a2, _DWORD *a3)
{
__int64 result; // rax
int v6; // edx
bool v7; // [rsp+30h] [rbp+8h] BYREF
bool v8; // [rsp+48h] [rbp+20h] BYREF
if ( !a1 )
return 31;
result = FMOD::DSP::getMeteringEnabled(a1, &v7, &v8);
if ( !(_DWORD)result )
{
v6 = 0;
if ( a2 )
*a2 = v7;
if ( a3 )
{
LOBYTE(v6) = v8;
*a3 = v6;
}
}
return result;
}