//
// sub_6AFD4 from 0x6afd4 to 0x6b018 (68 bytes)
//
// 2 xrefs:
// > sub_6B1E0 @ 0x6b20e
// > sub_6B1E0 @ 0x6b218
//
// 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:40:57 +0000
//
int __fastcall sub_6AFD4(_DWORD *a1)
{
int result; // r0
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), *a1, "../../src/fmod_profile_client.cpp", 370, 1);
result = j_FMOD_OS_CriticalSection_Free(a1[6], 0);
if ( !result )
{
result = sub_C061C(a1[7]);
if ( !result )
return sub_C061C(a1[8]);
}
return result;
}