// // std::__ndk1::future::future from 0x97f524 to 0x97f594 (112 bytes) // // 1 xrefs: // > std::__ndk1::promise::get_future @ 0x97f714 // // 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:06:06 +0000 // // Alternative name is '_ZNSt6__ndk16futureIvEC1EPNS_17__assoc_sub_stateE' _DWORD *__fastcall std::future::future(_DWORD *a1, std::__shared_count *this) { int v3; // r6 pthread_mutex_t *v4; // r5 void *exception; // r4 *a1 = this; if ( (*((_BYTE *)this + 20) & 2) != 0 ) { exception = _cxa_allocate_exception(0x10u); std::future_category(); std::future_error::future_error((int)exception, 1u, (unsigned int)&dword_D33CC4); _cxa_throw( exception, (struct type_info *)&`typeinfo for'std::future_error, (void (*)(void *))std::future_error::~future_error); } std::__shared_count::__add_shared(this); v3 = *a1; v4 = (pthread_mutex_t *)(*a1 + 12); std::mutex::lock(v4); *(_DWORD *)(v3 + 20) |= 2u; std::mutex::unlock(v4); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source