//
// sub_6B6EC from 0x6b6ec to 0x6b72c (64 bytes)
//
// 2 xrefs:
// > sub_6B648 @ 0x6b668
// > FMOD::System::close @ 0xdc8f4
//
// 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 12:13:57 +0000
//
__int64 __fastcall sub_6B6EC(__int64 a1)
{
__int64 result; // x0
if ( *(_BYTE *)(a1 + 69984) )
return 28;
if ( !*(_BYTE *)(a1 + 8) )
return 0;
result = sub_6A544(a1, 0);
if ( !(_DWORD)result )
return 0;
return result;
}