//
// sub_1002A91F8 from 0x1002a91f8 to 0x1002a9280 (136 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::spawnGroup @ 0x100287cac
//
// 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
//
char *__fastcall sub_1002A91F8(__int64 **a1, __int64 a2, __int64 a3)
{
void **v5; // x0
char *v6; // x19
void **v7; // x22
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
v5 = (void **)sub_1002A9280(a1, &v9, a2);
v6 = (char *)*v5;
if ( !*v5 )
{
v7 = v5;
v6 = (char *)operator new(0x28u);
*(_QWORD *)(v6 + 28) = *(_QWORD *)a3;
*((_DWORD *)v6 + 9) = *(_DWORD *)(a3 + 8);
sub_10000A0F0(a1, v9, v7, v6);
}
return v6;
}