//
// sub_10057A4A0 from 0x10057a4a0 to 0x10057a500 (96 bytes)
//
// 1 xrefs:
// > sub_10055D8DC @ 0x10055d8dc
//
// 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:08:26 +0000
//
__int64 __fastcall sub_10057A4A0(__int64 a1, _DWORD *a2, _DWORD *a3)
{
__int64 result; // x0
unsigned __int8 v6; // [xsp+Eh] [xbp-12h] BYREF
unsigned __int8 v7; // [xsp+Fh] [xbp-11h] BYREF
if ( !a1 )
return 31;
result = FMOD::DSP::getMeteringEnabled(a1, &v7, &v6);
if ( !(_DWORD)result )
{
if ( a2 )
*a2 = v7;
result = 0;
if ( a3 )
*a3 = v6;
}
return result;
}