//
// sub_5F4C4 from 0x5f4c4 to 0x5f4ec (40 bytes)
//
// 1 xrefs:
// > sub_6D7F8 @ 0x6d8bc
//
// 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:53 +0000
//
__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;
}