//
// sub_100018A4C from 0x100018a4c to 0x100018a9c (80 bytes)
//
// 5 xrefs:
// > sub_1000188C8 @ 0x1000188f8
// > sub_10001EE80 @ 0x10001ee90
// > sub_10001F2D8 @ 0x10001f2e8
// > sub_100022254 @ 0x10002226c
// > sub_100022324 @ 0x100022334
//
// 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 sub_100018A4C(__int64 a1, _QWORD *__p)
{
void *v3; // x0
if ( *(_BYTE *)(a1 + 8) == 1 )
{
v3 = (void *)__p[10];
if ( v3 )
{
__p[11] = v3;
operator delete(v3);
}
}
else if ( !__p )
{
return;
}
operator delete(__p);
}