//
// GJBaseGameLayer::getStaticGroup from 0x10028e018 to 0x10028e07c (100 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::addToGroup @ 0x10028df9c
// > GJBaseGameLayer::removeFromGroup @ 0x10028e134
// > GJBaseGameLayer::processTransformActions @ 0x100293904
// > GJBaseGameLayer::processRotationActions @ 0x100294298
// > GJBaseGameLayer::processMoveActions @ 0x1002947cc
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x100296a94
//
// 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:02 +0000
//
__int64 __fastcall GJBaseGameLayer::getStaticGroup(__int64 a1, int a2)
{
int v2; // w8
__int64 v3; // x20
__int64 v4; // x21
if ( a2 >= 9999 )
v2 = 9999;
else
v2 = a2;
v3 = v2 & (unsigned int)~(v2 >> 31);
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8LL * (unsigned int)v3);
if ( !v4 )
{
v4 = sub_1002E736C(a1);
cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3600), v4, v3);
*(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8 * v3) = v4;
}
return v4;
}