//
// sub_6FC80 from 0x6fc80 to 0x6fcc8 (72 bytes)
//
// 1 xrefs:
// > sub_6E14C @ 0x6e154
//
// 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
//
__int64 __fastcall sub_6FC80(__int64 *a1, __int64 a2)
{
__int64 v3; // x0
__int64 result; // x0
v3 = *a1;
if ( v3 )
FMOD_OS_CriticalSection_Enter(v3);
sub_671BC(a2);
result = *a1;
if ( *a1 )
return FMOD_OS_CriticalSection_Leave(result);
return result;
}