//
// sub_1000194A0 from 0x1000194a0 to 0x1000194f0 (80 bytes)
//
// 5 xrefs:
// > sub_10001931C @ 0x10001934c
// > sub_10001F8D4 @ 0x10001f8e4
// > sub_10001FEA8 @ 0x10001feb8
// > sub_100022CA8 @ 0x100022cc0
// > sub_100022D78 @ 0x100022d88
//
// 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 10:57:20 +0000
//
void __fastcall sub_1000194A0(__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);
}