//
// sub_140007B10 from 0x140007b10 to 0x140007b4d (61 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406aa1f0
// > ??> @ 0x1406c3bf4
//
// 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
//
__int64 __fastcall sub_140007B10(__int64 a1, __int64 a2)
{
*(_QWORD *)a1 = &std::exception::`vftable';
*(_OWORD *)(a1 + 8) = 0;
_std_exception_copy(a2 + 8);
*(_QWORD *)a1 = &std::bad_alloc::`vftable';
return a1;
}