//
// sub_10020A9C4 from 0x10020a9c4 to 0x10020aa24 (96 bytes)
//
// 1 xrefs:
// > sub_10020A990 @ 0x10020a9b0
//
// 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
//
__int64 __fastcall sub_10020A9C4(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void **v3; // x20
void *__p; // [xsp+0h] [xbp-30h] BYREF
char v6; // [xsp+10h] [xbp-20h]
void **v7; // [xsp+18h] [xbp-18h] BYREF
v2 = *a2;
sub_100018910(a1, a2, (__int64)&__p);
v3 = (void **)__p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
{
v7 = v3 + 3;
sub_100124F2C(&v7);
}
operator delete(v3);
}
return v2;
}