//
// sub_4ED5E from 0x4ed5e to 0x4ed74 (22 bytes)
//
// 1 xrefs:
// > sub_59CE4 @ 0x59d7e
//
// 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
//
int __fastcall sub_4ED5E(int *a1)
{
int v1; // r2
int v2; // r1
v1 = a1[2];
v2 = *a1 + 1;
*a1 = v2;
if ( v2 == v1 )
return j_FMOD_OS_CriticalSection_Enter(a1[1]);
else
return 0;
}