//
// sub_736F14 from 0x736f14 to 0x736f46 (50 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall sub_736F14(int a1)
{
pthread_mutex_t *v2; // r0
v2 = *(pthread_mutex_t **)a1;
if ( v2 )
{
pthread_mutex_lock(v2);
if ( *(_DWORD *)(a1 + 4) > 1u )
{
do
pthread_cond_wait((pthread_cond_t *)(*(_DWORD *)a1 + 4), *(pthread_mutex_t **)a1);
while ( *(_DWORD *)(a1 + 4) != 1 );
}
pthread_mutex_unlock(*(pthread_mutex_t **)a1);
}
return *(_DWORD *)(a1 + 20) == 0;
}