//
// GJBaseGameLayer::getGroupParent from 0x590ae8 to 0x590b0c (36 bytes)
//
// 9 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x4898d4
// > KeyframeGameObject::updateShadowObjects @ 0x4ec65a
// > GJBaseGameLayer::getCenterGroupObject @ 0x590b3c
// > GJBaseGameLayer::tryGetGroupParent @ 0x590b66
// > GJBaseGameLayer::tryGetMainObject @ 0x590bae
// > GJBaseGameLayer::generateTargetGroups @ 0x5aa27c
// > GJBaseGameLayer::positionUIObjects @ 0x5aaf42
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a2ee
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a3b8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:05 +0000
//
int __fastcall GJBaseGameLayer::getGroupParent(cocos2d::CCDictionary **this, int a2)
{
cocos2d::CCArray *v2; // r0
cocos2d::CCArray *v3; // r4
v2 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 580), a2);
v3 = v2;
if ( v2 && cocos2d::CCArray::count(v2) )
return cocos2d::CCArray::objectAtIndex(v3, 0);
else
return 0;
}