// // std::__ndk1::future::future from 0xf87a18 to 0xf87b0c (244 bytes) // // 3 xrefs: // > std::__ndk1::promise::get_future @ 0xf87db8 // > @ 0x6e158 // > @ 0x85678 // // 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 // // Alternative name is '_ZNSt6__ndk16futureIvEC2EPNS_17__assoc_sub_stateE' __int64 __fastcall std::future::future(_QWORD *a1, std::__shared_count *this) { __int64 v3; // x20 pthread_mutex_t *v4; // x19 void *exception; // x0 unsigned __int8 v7; // w8 void *v8; // x19 *a1 = this; if ( (*((_BYTE *)this + 112) & 2) != 0 ) { exception = _cxa_allocate_exception(0x20u); v7 = atomic_load((unsigned __int8 *)&byte_1565EA8); v8 = exception; if ( (v7 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_1565EA8) ) { qword_1565EA0 = (__int64)&off_1535E88; __cxa_atexit((void (*)(void *))std::error_category::~error_category, &qword_1565EA0, &unk_1548000); _cxa_guard_release((__guard *)&byte_1565EA8); } std::future_error::future_error((__int64)v8, 1, (__int64)&qword_1565EA0); _cxa_throw( v8, (struct type_info *)&`typeinfo for'std::future_error, (void (*)(void *))std::future_error::~future_error); } std::__shared_count::__add_shared((__int64)this); v3 = *a1; v4 = (pthread_mutex_t *)(*a1 + 24LL); std::mutex::lock(v4); *(_DWORD *)(v3 + 112) |= 2u; return std::mutex::unlock(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source