//
// sub_6FC80 from 0x6fc80 to 0x6fcc8 (72 bytes)
//
// 1 xrefs:
// > sub_6E14C @ 0x6e154
//
// 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:59 +0000
//
__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;
}