// // std::__ndk1::__assoc_sub_state::__sub_wait from 0xf877fc to 0xf87890 (148 bytes) // // 1 xrefs: // > @ 0x75ec8 // // 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:53 +0000 // __int64 __fastcall std::__assoc_sub_state::__sub_wait(__int64 result, __int64 a2) { __int64 v2; // x19 int v3; // w8 v2 = result; v3 = *(_DWORD *)(result + 112); if ( (v3 & 4) == 0 ) { if ( (v3 & 8) != 0 ) { *(_DWORD *)(result + 112) = v3 & 0xFFFFFFF7; if ( !*(_BYTE *)(a2 + 8) ) std::__throw_system_error(1u, "unique_lock::unlock: not locked"); std::mutex::unlock(*(pthread_mutex_t **)a2); *(_BYTE *)(a2 + 8) = 0; return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 24LL))(v2); } else { do result = std::condition_variable::wait((pthread_cond_t *)(v2 + 64), a2); while ( (*(_BYTE *)(v2 + 112) & 4) == 0 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source