//
// GJBaseGameLayer::getStaticGroup from 0x85d618 to 0x85d69c (132 bytes)
//
// 8 xrefs:
// > PlayLayer::addToGroupOld @ 0x5cd038
// > GJBaseGameLayer::addToGroup @ 0x85d778
// > GJBaseGameLayer::removeFromGroup @ 0x8602b0
// > GJBaseGameLayer::processMoveActions @ 0x86317c
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x863ea8
// > GJBaseGameLayer::processRotationActions @ 0x86e4d0
// > GJBaseGameLayer::processTransformActions @ 0x86ec44
// > ??> @ 0x3aab8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCArray *GJBaseGameLayer::getStaticGroup(GJBaseGameLayer *a1, int a2)
{
int v2; // w19
cocos2d::CCArray **m_start; // x1
cocos2d::CCArray *v6; // x20
if ( a2 > 9999 )
a2 = 9999;
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
m_start = a1->m_staticGroups.m_start;
if ( m_start[v2] )
return m_start[v2];
v6 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
cocos2d::CCDictionary::setObject(a1->m_staticGroupDict, v6, v2);
a1->m_staticGroups.m_start[v2] = v6;
return v6;
}