// // std::__ndk1::__sp_mut::lock from 0x976f60 to 0x976f8c (44 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::__sp_mut::lock(std::mutex **this) { std::mutex *v1; // r4 int v2; // r5 int result; // r0 v1 = *this; v2 = 0; while ( 1 ) { result = std::mutex::try_lock(v1); if ( result ) break; if ( (unsigned int)++v2 >= 0x11 ) return std::mutex::lock(v1); sched_yield(); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source