//
// sub_140007A10 from 0x140007a10 to 0x140007a53 (67 bytes)
//
// 4 xrefs:
// > ??> @ 0x1405188f0
// > ??> @ 0x140518908
// > ??> @ 0x140518930
// > ??> @ 0x1406c3bd0
//
// 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
//
char *__fastcall sub_140007A10(char *Block, char a2)
{
*(_QWORD *)Block = &std::exception::`vftable';
_std_exception_destroy(Block + 8);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}