// // std::__ndk1::promise::~promise from 0xf87be0 to 0xf87d18 (312 bytes) // // 2 xrefs: // > @ 0x7a950 // > @ 0xf69d0 // // 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:54 +0000 // // Alternative name is '_ZNSt6__ndk17promiseIvED2Ev' std::__shared_count **__fastcall std::promise::~promise(std::__shared_count **result) { std::__shared_count **v1; // x19 std::__shared_count *v2; // x8 __int64 v3; // x20 __int64 v4; // x20 unsigned __int8 v5; // w8 _BYTE v6[32]; // [xsp+8h] [xbp-48h] BYREF __int64 v7; // [xsp+28h] [xbp-28h] BYREF _QWORD v8[2]; // [xsp+30h] [xbp-20h] BYREF v1 = result; v8[1] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40); v2 = *result; if ( *result ) { if ( (*((_BYTE *)v2 + 112) & 1) == 0 ) { v8[0] = 0; v3 = *((_QWORD *)v2 + 2); std::exception_ptr::~exception_ptr((std::exception_ptr *)v8); if ( !v3 ) { v4 = (__int64)*v1; if ( *((__int64 *)*v1 + 1) >= 1 ) { v5 = atomic_load((unsigned __int8 *)&byte_1565EA8); if ( (v5 & 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)v6, 4, (__int64)&qword_1565EA0); std::make_exception_ptr(&v7, v6); std::__assoc_sub_state::set_exception(v4, &v7); std::exception_ptr::~exception_ptr((std::exception_ptr *)&v7); std::logic_error::~logic_error((std::logic_error *)v6); } } } result = (std::__shared_count **)std::__shared_count::__release_shared(*v1); } _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source