//
// sub_6BAAC from 0x6baac to 0x6bb60 (180 bytes)
//
// 0 xrefs:
//
// 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:58 +0000
//
int __fastcall sub_6BAAC(_DWORD *a1)
{
int result; // r0
int v3; // r1
_DWORD v4[3]; // [sp+8h] [bp-18h] BYREF
int v5; // [sp+14h] [bp-Ch]
j_FMOD_OS_CriticalSection_Free(a1[7], 0);
sub_6BB6C(v4, a1 + 11);
while ( v5 != -1 )
{
result = sub_6BB94(*(_DWORD *)(*(_DWORD *)(v4[0] + 12) + 12 * v5 + 8));
if ( result )
return result;
sub_6BBB8(v4);
}
sub_6BBEA(v4, a1 + 19);
while ( v5 != -1 )
{
result = sub_6BC10(*(_DWORD *)(*(_DWORD *)(v4[0] + 12) + 12 * v5 + 8));
if ( result )
return result;
sub_6BC38(v4);
}
v3 = a1[6];
if ( v3 )
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v3, "../../src/fmod_profile_remotefile.cpp", 183, 1);
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a1[5], "../../src/fmod_profile_remotefile.cpp", 186, 1);
sub_6BC6C(a1, "../../src/fmod_profile_remotefile.cpp", 188);
return 0;
}