//
// __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 (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:55 +0000
//
void __fastcall _std_exception_destroy(__int64 a1)
{
if ( *(_BYTE *)(a1 + 8) )
free(*(void **)a1);
*(_QWORD *)a1 = 0;
*(_BYTE *)(a1 + 8) = 0;
}