//
// sub_5F4EC from 0x5f4ec to 0x5f514 (40 bytes)
//
// 1 xrefs:
// > sub_6D8D0 @ 0x6d90c
//
// 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_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;
}