//
// sub_5F4C4 from 0x5f4c4 to 0x5f4ec (40 bytes)
//
// 1 xrefs:
// > sub_6D7F8 @ 0x6d8bc
//
// 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_5F4C4(__int64 a1)
{
int v1; // w9
int v2; // w8
v1 = *(_DWORD *)(a1 + 16);
v2 = *(_DWORD *)a1 + 1;
*(_DWORD *)a1 = v2;
if ( v2 == v1 )
return FMOD_OS_CriticalSection_Enter(*(_QWORD *)(a1 + 8));
else
return 0;
}