//
// sub_10005A9D0 from 0x10005a9d0 to 0x10005aa07 (55 bytes)
//
// 0 xrefs:
//
// 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 12:19:39 +0000
//
void __fastcall sub_10005A9D0(__int64 a1)
{
void *v1; // rax
if ( (*(_BYTE *)(a1 + 1) & 2) != 0 )
{
v1 = *(void **)(a1 + 8);
if ( v1 )
operator delete[](v1);
}
*(_DWORD *)a1 = 0;
*(_OWORD *)(a1 + 8) = 0;
}