//
// std::__ndk1::timed_mutex::try_lock from 0x977294 to 0x9772bc (40 bytes)
//
// 0 xrefs:
//
// 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 12:05:58 +0000
//
int __fastcall std::timed_mutex::try_lock(pthread_mutex_t *this)
{
int v2; // r5
if ( !std::mutex::try_lock(this) )
return 0;
if ( this->__size[8] )
{
v2 = 0;
}
else
{
v2 = 1;
this->__size[8] = 1;
}
std::mutex::unlock(this);
return v2;
}