//
// std::__ndk1::promise::set_value from 0x97f760 to 0x97f7a8 (72 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall std::promise::set_value(std::__assoc_sub_state **a1)
{
std::__assoc_sub_state *v1; // r0
void *exception; // r4
v1 = *a1;
if ( !v1 )
{
exception = _cxa_allocate_exception(0x10u);
std::future_category();
std::future_error::future_error((int)exception, 3u, (unsigned int)&dword_D33CC4);
_cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::future_error,
(void (*)(void *))std::future_error::~future_error);
}
return std::__assoc_sub_state::set_value(v1);
}