//
// sub_10001A4C4 from 0x10001a4c4 to 0x10001a514 (80 bytes)
//
// 8 xrefs:
// > sub_10001A4A8 @ 0x10001a4b8
// > sub_10001B5D8 @ 0x10001b608
// > sub_10001FF44 @ 0x10001ff5c
// > sub_100020000 @ 0x100020010
// > sub_10012625C @ 0x100126274
// > sub_100126304 @ 0x100126314
// > sub_1001269E8 @ 0x100126a00
// > sub_100126A90 @ 0x100126aa0
//
// 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_10001A4C4(__int64 a1, _QWORD *__p)
{
void *v3; // x0
if ( *(_BYTE *)(a1 + 8) == 1 )
{
v3 = (void *)__p[3];
if ( v3 )
{
__p[4] = v3;
operator delete(v3);
}
}
else if ( !__p )
{
return;
}
operator delete(__p);
}