// // GJBaseGameLayer::tryGetGroupParent from 0x4710bc to 0x471106 (74 bytes) // // 0 xrefs: // // 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 // GameObject *GJBaseGameLayer::tryGetGroupParent(GJBaseGameLayer *a1, int a2) { GameObject *v4; // r4 cocos2d::CCArray *Group; // r0 cocos2d::ccArray *data; // r2 int v7; // r3 cocos2d::CCObject **arr; // r2 cocos2d::CCObject **v9; // r3 GameObject *v10; // r1 GameObject *v11; // t1 v4 = (GameObject *)cocos2d::CCDictionary::objectForKey(a1->m_parentGroupsDict, a2); if ( !v4 ) { Group = GJBaseGameLayer::getGroup(a1, a2); if ( Group ) { data = Group->data; if ( data->num ) { v7 = data->num + 0x40000000; arr = data->arr; v9 = &arr[v7 - 1]; while ( arr <= v9 ) { v11 = (GameObject *)*arr++; v10 = v11; if ( !v11 || v10->m_hasGroupParent ) return v10; } } } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source