// // std::__ndk1::recursive_timed_mutex::try_lock from 0x9773cc to 0x977428 (92 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::recursive_timed_mutex::try_lock(pthread_mutex_t *this) { pthread_t v2; // r5 int owner; // r0 int v4; // r5 v2 = pthread_self(); if ( std::mutex::try_lock(this) ) { if ( this->__owner ) { if ( !pthread_equal(v2, this->__kind) || (owner = this->__owner, owner == -1) ) { v4 = 0; LABEL_9: std::mutex::unlock(this); return v4; } } else { owner = 0; } this->__owner = owner + 1; this->__kind = v2; v4 = 1; goto LABEL_9; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source