//
// sub_1000186C4 from 0x1000186c4 to 0x1000186fc (56 bytes)
//
// 3 xrefs:
// > sub_10000EB60 @ 0x10000ee38
// > sub_10015156C @ 0x10015158c
// > sub_10019C87C @ 0x10019c8cc
//
// 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
//
void **__fastcall sub_1000186C4(void **a1)
{
void *v2; // x0
sub_1000186FC((int)a1, a1[2]);
v2 = *a1;
*a1 = nullptr;
if ( v2 )
operator delete(v2);
return a1;
}