//
// sub_5F4EC from 0x5f4ec to 0x5f514 (40 bytes)
//
// 1 xrefs:
// > sub_6D8D0 @ 0x6d90c
//
// 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_5F4EC(int *a1)
{
int v1; // w8
int v2; // w9
v1 = *a1;
v2 = a1[4];
--*a1;
if ( v1 == v2 )
return FMOD_OS_CriticalSection_Leave(*((_QWORD *)a1 + 1));
else
return 0;
}