//
// sub_10020C774 from 0x10020c774 to 0x10020c7cc (88 bytes)
//
// 1 xrefs:
// > sub_10020C740 @ 0x10020c760
//
// 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_10020C774(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void *v3; // x20
void *__p; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+18h] [xbp-18h]
v2 = *a2;
sub_100018910(a1, a2, (__int64)&__p);
v3 = __p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
sub_100017A98((__int64)v3 + 24);
operator delete(v3);
}
return v2;
}