//
// sub_A724C from 0xa724c to 0xa72fa (174 bytes)
//
// 2 xrefs:
// > sub_A7158 @ 0xa71c8
// > FMOD::DSP::setMeteringEnabled @ 0xb23a8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:35 +0000
//
int __fastcall sub_A724C(int a1, int a2, int a3)
{
int v5; // r5
int v7; // r1
int v8; // r9
int v9; // r5
_DWORD v11[2]; // [sp+4h] [bp-24h] BYREF
char v12; // [sp+Ch] [bp-1Ch]
v5 = 0;
v11[0] = *(_DWORD *)(a1 + 128);
v11[1] = 7;
v12 = 0;
if ( !*(_DWORD *)(a1 + 372) && !a2 && !a3 )
goto LABEL_20;
sub_44998((int)v11);
v7 = *(_DWORD *)(a1 + 372);
if ( !v7 )
{
v9 = 0;
goto LABEL_10;
}
if ( !*(_BYTE *)(v7 + 530) )
{
v9 = *(unsigned __int8 *)(v7 + 1062);
if ( *(_BYTE *)(v7 + 1062) )
v9 = 1;
LABEL_10:
v8 = a2 | a3;
if ( !v9 && v8 )
{
v5 = sub_ABBFC(a1);
if ( v5 )
goto LABEL_20;
v7 = *(_DWORD *)(a1 + 372);
v9 = 0;
}
if ( !v7 )
goto LABEL_16;
goto LABEL_15;
}
v8 = a2 | a3;
v9 = 1;
LABEL_15:
sub_ABC78(a1);
sub_ABC78(a1);
LABEL_16:
if ( v8 || !v9 || (v5 = sub_AA268(a1)) == 0 )
v5 = 0;
LABEL_20:
sub_448CC((int)v11);
return v5;
}