// // GJBaseGameLayer::assignNewStickyGroups from 0x9a3cc4 to 0x9a3de8 (292 bytes) // // 3 xrefs: // > LevelEditorLayer::duplicateKeyframeAnimation @ 0x7a12fc // > EditorUI::pasteObjects @ 0xbd9758 // > @ 0xa0858 // // 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 12:58:09 +0000 // cocos2d::CCArray *__fastcall GJBaseGameLayer::assignNewStickyGroups(cocos2d::CCArray *this, cocos2d::CCArray *a2) { cocos2d::CCDictionary **v2; // x23 unsigned int v4; // w19 cocos2d::CCDictionary *v5; // x24 bool v6; // cf unsigned int v7; // w1 int *v8; // x0 int v9; // w1 int *v10; // x20 cocos2d::CCArray *v11; // x0 cocos2d::CCObject *v12; // x22 cocos2d::CCArray *i; // x19 cocos2d::CCArray *v14; // x20 if ( a2 ) { v2 = (cocos2d::CCDictionary **)this; v4 = 0; v5 = nullptr; LABEL_3: v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a2); v7 = v4; this = a2; ++v4; for ( ; !v6; ++v4 ) { v8 = (int *)cocos2d::CCArray::objectAtIndex(this, v7); v9 = v8[218]; v10 = v8; if ( v9 <= 0 ) goto LABEL_3; if ( v5 ) { v11 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v5, v9); v12 = v11; if ( !v11 ) goto LABEL_16; } else { v5 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)v8); v11 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v5, v10[218]); v12 = v11; if ( !v11 ) { LABEL_16: v12 = (cocos2d::CCObject *)cocos2d::CCArray::create(v11); cocos2d::CCDictionary::setObject(v5, v12, v10[218]); } } cocos2d::CCArray::addObject(v12, (cocos2d::CCObject *)v10); v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a2); v7 = v4; this = a2; } if ( v5 ) { this = *((cocos2d::CCArray **)v5 + 7); if ( this ) { for ( i = *((cocos2d::CCArray **)this + 36); ; i = *((cocos2d::CCArray **)i + 36) ) { v14 = *((cocos2d::CCArray **)this + 33); GJBaseGameLayer::ungroupStickyObjects(v2, v14); GJBaseGameLayer::groupStickyObjects(v2, v14); this = i; if ( !i ) break; } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source