//
// sub_100018574 from 0x100018574 to 0x1000185ac (56 bytes)
//
// 2 xrefs:
// > sub_10000EB60 @ 0x10000eecc
// > sub_10015156C @ 0x100151620
//
// 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:19 +0000
//
__int64 __fastcall sub_100018574(__int64 a1)
{
void *v2; // x0
sub_1000185AC(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}