// // std::__ndk1::condition_variable::__do_timed_wait from 0xf41d98 to 0xf41e7c (228 bytes) // // 1 xrefs: // > @ 0xb9a10 // // 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:07 +0000 // __int64 __fastcall std::condition_variable::__do_timed_wait(pthread_cond_t *cond, __int64 a2, __int64 a3) { __int64 v6; // x8 __int64 result; // x0 _QWORD v8[3]; // [xsp+8h] [xbp-38h] BYREF v8[2] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40); if ( !*(_BYTE *)(a2 + 8) ) std::__throw_system_error(1, "condition_variable::timed wait: mutex not locked"); v6 = 0x59682F000000E941LL; if ( a3 <= 0x59682F000000E941LL ) v6 = a3; v8[0] = v6 / 1000000000; v8[1] = v6 % 1000000000; result = pthread_cond_timedwait(cond, *(pthread_mutex_t **)a2, (const struct timespec *)v8); if ( (_DWORD)result && (_DWORD)result != 110 ) result = std::__throw_system_error(result, "condition_variable timed_wait failed"); _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source