// // std::__ndk1::recursive_timed_mutex::try_lock from 0xf7a170 to 0xf7a20c (156 bytes) // // 1 xrefs: // > @ 0xc7a20 // // 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::recursive_timed_mutex::try_lock(std::recursive_timed_mutex *this) { pthread_t v2; // x20 unsigned int v3; // w20 __int64 v4; // x8 v2 = pthread_self(); if ( pthread_mutex_trylock((pthread_mutex_t *)this) ) { return 0; } else { v4 = *((_QWORD *)this + 11); if ( v4 && (!pthread_equal(v2, *((_QWORD *)this + 12)) || (v4 = *((_QWORD *)this + 11), v4 == -1)) ) { v3 = 0; } else { *((_QWORD *)this + 11) = v4 + 1; *((_QWORD *)this + 12) = v2; v3 = 1; } pthread_mutex_unlock((pthread_mutex_t *)this); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source