//
// __std_exception_destroy from 0x180127078 to 0x18012709d (37 bytes)
//
// 4 xrefs:
// > Concurrency::agent::~agent @ 0x18012680e
// > unknown_libname_17 @ 0x180126831
// > unknown_libname_18 @ 0x180126875
// > ??> @ 0x1802029b4
//
// 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 _std_exception_destroy(__int64 a1)
{
if ( *(_BYTE *)(a1 + 8) )
free(*(void **)a1);
*(_QWORD *)a1 = 0;
*(_BYTE *)(a1 + 8) = 0;
}