//
// FMOD_DSP_GetMeteringEnabled from 0x4428a to 0x442bc (50 bytes)
//
// 1 xrefs:
// > j_FMOD_DSP_GetMeteringEnabled @ 0xe2a98
//
// 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 FMOD_DSP_GetMeteringEnabled(FMOD::DSP *a1, _DWORD *a2, _DWORD *a3, int a4)
{
int result; // r0
__int16 v7; // [sp+6h] [bp-Ah] BYREF
v7 = HIWORD(a4);
if ( !a1 )
return 31;
result = FMOD::DSP::getMeteringEnabled(a1, (bool *)&v7 + 1, (bool *)&v7);
if ( !result )
{
if ( a2 )
*a2 = HIBYTE(v7);
if ( a3 )
*a3 = (unsigned __int8)v7;
return 0;
}
return result;
}