//
// FMOD_OS_CriticalSection_Leave from 0xc0598 to 0xc05a8 (16 bytes)
//
// 1 xrefs:
// > j_FMOD_OS_CriticalSection_Leave @ 0xe1288
//
// 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 FMOD_OS_CriticalSection_Leave(pthread_mutex_t *a1)
{
int result; // r0
result = pthread_mutex_unlock(a1);
if ( result )
return 28;
return result;
}