//
// sub_1002A6FA8 from 0x1002a6fa8 to 0x1002a6fe4 (60 bytes)
//
// 9 xrefs:
// > sub_1002A74BC @ 0x1002a74c4
// > sub_1002AB8F8 @ 0x1002ab900
// > sub_1002ABB90 @ 0x1002abb98
// > sub_1002ABEE0 @ 0x1002abefc
// > sub_1002AC250 @ 0x1002ac268
// > sub_1002AC77C @ 0x1002ac784
// > sub_1002ACE6C @ 0x1002ace74
// > sub_1002AD20C @ 0x1002ad214
// > sub_1002AD618 @ 0x1002ad620
//
// 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:02:15 +0000
//
__int64 __fastcall sub_1002A6FA8(__int64 a1)
{
void *v2; // x0
v2 = *(void **)(a1 + 208);
if ( v2 )
{
*(_QWORD *)(a1 + 216) = v2;
operator delete(v2);
}
sub_1000187C4(a1, *(_QWORD **)(a1 + 8));
return a1;
}