//
// FMOD_OS_CriticalSection_Enter from 0xc0588 to 0xc0598 (16 bytes)
//
// 1 xrefs:
// > j_FMOD_OS_CriticalSection_Enter @ 0xe1278
//
// 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:41:48 +0000
//
int __fastcall FMOD_OS_CriticalSection_Enter(pthread_mutex_t *a1)
{
int result; // r0
result = pthread_mutex_lock(a1);
if ( result )
return 28;
return result;
}