//
// std::__ndk1::__assoc_sub_state::__execute from 0xf87968 to 0xf87a18 (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x9c1c0
// > ??> @ 0x1535e50
//
// 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
//
void __fastcall __noreturn std::__assoc_sub_state::__execute(std::__assoc_sub_state *this)
{
void *exception; // x0
unsigned __int8 v2; // w8
void *v3; // x19
exception = _cxa_allocate_exception(0x20u);
v2 = atomic_load((unsigned __int8 *)&byte_1565EA8);
v3 = exception;
if ( (v2 & 1) == 0 )
{
if ( _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)v3, 3, (__int64)&qword_1565EA0);
_cxa_throw(
v3,
(struct type_info *)&`typeinfo for'std::future_error,
(void (*)(void *))std::future_error::~future_error);
}