//
// sub_1002A94F4 from 0x1002a94f4 to 0x1002a954c (88 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::addToGroupParents @ 0x10028e974
// > sub_1002A954C @ 0x1002a956c
//
// 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:16 +0000
//
__int64 __fastcall sub_1002A94F4(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void *v3; // x20
void *__p; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+18h] [xbp-18h]
v2 = *a2;
sub_100019364(a1, a2, (__int64)&__p);
v3 = __p;
__p = nullptr;
if ( v3 )
{
if ( v6 == 1 )
sub_1000184EC((__int64)v3 + 24);
operator delete(v3);
}
return v2;
}