//
// Concurrency::cancel_current_task from 0x18001fd40 to 0x18001fd60 (32 bytes)
//
// 2 xrefs:
// > operator new @ 0x18001f200
// > ??> @ 0x18004b2a4
//
// 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 Concurrency::cancel_current_task()
{
_QWORD pExceptionObject[5]; // [rsp+20h] [rbp-28h] BYREF
sub_18001FD20(pExceptionObject);
throw (std::bad_alloc *)pExceptionObject;
}