// // std::__ndk1::condition_variable::__do_timed_wait from 0x954130 to 0x9541f4 (196 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:26 +0000 // int __fastcall std::condition_variable::__do_timed_wait(pthread_cond_t *a1, int a2, __int64 a3) { int v3; // r0 bool v4; // zf int v6; // [sp+4h] [bp-18h] BYREF int v7; // [sp+8h] [bp-14h] int v8; // [sp+Ch] [bp-10h] if ( !*(_BYTE *)(a2 + 4) ) std::__throw_system_error(1, "condition_variable::timed wait: mutex not locked"); if ( a3 >= 2147483647000000000LL ) { v6 = 0x7FFFFFFF; v7 = 999999999; } else { v6 = a3 / 1000000000; v7 = a3 % 1000000000; } v3 = pthread_cond_timedwait(a1, *(pthread_mutex_t **)a2, (const struct timespec *)&v6); v4 = v3 == 0; if ( v3 ) v4 = v3 == 110; if ( !v4 ) std::__throw_system_error(v3, "condition_variable timed_wait failed"); return _stack_chk_guard - v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source