//
// std::__ndk1::future_category from 0x97ef64 to 0x97efac (72 bytes)
//
// 12 xrefs:
// > std::__ndk1::__assoc_sub_state::set_value @ 0x97f0da
// > std::__ndk1::__assoc_sub_state::set_value_at_thread_exit @ 0x97f196
// > std::__ndk1::__assoc_sub_state::set_exception @ 0x97f25a
// > std::__ndk1::__assoc_sub_state::set_exception_at_thread_exit @ 0x97f31e
// > std::__ndk1::__assoc_sub_state::__execute @ 0x97f4e8
// > std::__ndk1::future::future @ 0x97f564
// > std::__ndk1::promise::~promise @ 0x97f640
// > std::__ndk1::promise::get_future @ 0x97f722
// > std::__ndk1::promise::set_value @ 0x97f778
// > std::__ndk1::promise::set_exception @ 0x97f7fc
// > std::__ndk1::promise::set_value_at_thread_exit @ 0x97f864
// > std::__ndk1::promise::set_exception_at_thread_exit @ 0x97f8e8
//
// 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:05 +0000
//
int *std::future_category()
{
char v0; // r0
v0 = byte_D33CC8;
__dmb(0xBu);
if ( (v0 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_D33CC8) )
{
dword_D33CC4 = (int)&off_D14D68;
_cxa_atexit((void (*)(void *))std::error_category::~error_category, &dword_D33CC4, &unk_D1E000);
_cxa_guard_release((__guard *)&byte_D33CC8);
}
return &dword_D33CC4;
}