//
// unknown_libname_18 from 0x180126858 to 0x18012689a (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x180170bd0
// > ??> @ 0x180202924
//
// 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
//
// Microsoft VisualC v14 64bit runtime
char *__fastcall unknown_libname_18(char *Block, char a2)
{
*(_QWORD *)Block = &std::exception::`vftable';
_std_exception_destroy(Block + 8);
if ( (a2 & 1) != 0 )
j_j_free_0(Block);
return Block;
}