//
// sub_1002AD670 from 0x1002ad670 to 0x1002ad6b0 (64 bytes)
//
// 1 xrefs:
// > sub_1002AD62C @ 0x1002ad654
//
// 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:18 +0000
//
_QWORD *__fastcall sub_1002AD670(_QWORD *a1, _QWORD *a2)
{
_QWORD *v3; // x20
void *v4; // x0
v3 = sub_10001C814(a1, a2);
v4 = (void *)a2[5];
if ( v4 )
{
a2[6] = v4;
operator delete(v4);
}
operator delete(a2);
return v3;
}