//
// sub_1004AECB0 from 0x1004aecb0 to 0x1004aecee (62 bytes)
//
// 8 xrefs:
// > ??> @ 0x1004aec22
// > ??> @ 0x1004aec4e
// > ??> @ 0x1004af10a
// > ??> @ 0x1004af136
// > ??> @ 0x1004af51a
// > ??> @ 0x1004af540
// > ??> @ 0x10051a546
// > ??> @ 0x100b55b58
//
// 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:30:58 +0000
//
void __fastcall sub_1004AECB0(__int64 a1)
{
*(_QWORD *)a1 = &off_100B55B58;
if ( (*(_BYTE *)(a1 + 40) & 1) != 0 )
operator delete(*(void **)(a1 + 56));
if ( (*(_BYTE *)(a1 + 16) & 1) != 0 )
operator delete(*(void **)(a1 + 32));
}