//
// std::make_exception_ptr from 0xf87d18 to 0xf87d98 (128 bytes)
//
// 2 xrefs:
// > std::__ndk1::promise::~promise @ 0xf87ca8
// > ??> @ 0xa6bb8
//
// 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
//
void __fastcall __noreturn std::make_exception_ptr(__int64 a1)
{
_OWORD *exception; // x21
exception = _cxa_allocate_exception(0x20u);
std::logic_error::logic_error(exception, a1);
*(_QWORD *)exception = off_1535DF0;
exception[1] = *(_OWORD *)(a1 + 16);
_cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::future_error,
(void (*)(void *))std::future_error::~future_error);
}