//
// sub_D141E8 from 0xd141e8 to 0xd142c4 (220 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall __noreturn sub_D141E8(int a1)
{
_DWORD *exception; // x19
__int64 v3; // x21
__int64 v4; // [xsp+48h] [xbp+48h] BYREF
exception = _cxa_allocate_exception(0x20u);
v3 = sub_D1461C();
sub_D153B8((int)&v4, "std::future_error");
sub_CF8E8C(exception);
if ( (__int64 *)(v4 - 24) != &qword_124B6B0 )
sub_D137C8((void *)(v4 - 24));
exception[4] = a1;
*((_QWORD *)exception + 3) = v3;
*(_QWORD *)exception = off_111F250;
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::future_error, (void (*)(void *))sub_D143EC);
}