//
// sub_6B1E0 from 0x6b1e0 to 0x6b242 (98 bytes)
//
// 3 xrefs:
// > ??> @ 0x6b1de
// > sub_52054 @ 0x520a0
// > sub_522EC @ 0x52510
//
// 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 sub_6B1E0(_DWORD *a1)
{
int result; // r0
int v3; // r1
int v4; // r1
result = sub_6B24C(a1);
if ( !result )
{
result = sub_BE788(a1 + 6, v3);
if ( !result )
{
result = sub_BE788(a1 + 81, v4);
if ( !result )
{
result = j_FMOD_OS_CriticalSection_Free(a1[5], 0);
if ( !result )
{
result = sub_6AFD4(a1 + 285);
if ( !result )
{
result = sub_6AFD4(a1 + 297);
if ( !result )
{
sub_BD7AC(
*(int *)((char *)&dword_14C + (_DWORD)off_E8000),
a1,
"../../src/fmod_profile_client.cpp",
456,
1);
return 0;
}
}
}
}
}
}
return result;
}