//
// sub_1003E0AC0 from 0x1003e0ac0 to 0x1003e0b08 (72 bytes)
//
// 2 xrefs:
// > sub_1003E0A04 @ 0x1003e0a10
// > sub_1003E0AA8 @ 0x1003e0ab4
//
// 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 11:04:22 +0000
//
void __fastcall sub_1003E0AC0(__int64 a1, __int64 a2)
{
void *v2; // x19
v2 = *(void **)a1;
*(_QWORD *)a1 = a2;
if ( v2 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
sub_1000189C8((__int64)v2 + 16);
operator delete(v2);
}
}