//
// std::__ndk1::timed_mutex::try_lock from 0xf79f10 to 0xf79f68 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100fc0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:45 +0000
//
__int64 __fastcall std::timed_mutex::try_lock(pthread_mutex_t *this)
{
unsigned int v2; // w20
if ( pthread_mutex_trylock(this) )
{
return 0;
}
else
{
if ( *((_BYTE *)this + 88) )
{
v2 = 0;
}
else
{
v2 = 1;
*((_BYTE *)this + 88) = 1;
}
pthread_mutex_unlock(this);
}
return v2;
}