//
// sub_180003E00 from 0x180003e00 to 0x180003e43 (67 bytes)
//
// 4 xrefs:
// > ??> @ 0x180023338
// > ??> @ 0x180023350
// > ??> @ 0x180023378
// > ??> @ 0x180049360
//
// 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_180003E00(char *Block, char a2)
{
*(_QWORD *)Block = &std::exception::`vftable';
_std_exception_destroy(Block + 8);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}