//
// sub_4ED74 from 0x4ed74 to 0x4ed8a (22 bytes)
//
// 1 xrefs:
// > sub_59D98 @ 0x59dc0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:42 +0000
//
int __fastcall sub_4ED74(int *a1)
{
int v1; // r1
int v2; // r2
v1 = *a1;
v2 = a1[2];
--*a1;
if ( v1 == v2 )
return j_j_FMOD_OS_CriticalSection_Leave(a1[1]);
else
return 0;
}