//
// sub_1002AEDA0 from 0x1002aeda0 to 0x1002aedf0 (80 bytes)
//
// 2 xrefs:
// > sub_1002AED58 @ 0x1002aed88
// > sub_1002AF020 @ 0x1002af030
//
// This function is hookable on this platform (idp: arm, 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 11:02:19 +0000
//
void __fastcall sub_1002AEDA0(__int64 a1, void **__p)
{
if ( *(_BYTE *)(a1 + 8) == 1 )
{
if ( *((char *)__p + 87) < 0 )
operator delete(__p[8]);
}
else if ( !__p )
{
return;
}
operator delete(__p);
}