// // GJBaseGameLayer::assignNewStickyGroups from 0x10011c3f0 to 0x10011c4f8 (264 bytes) // // 2 xrefs: // > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1000c84bf // > EditorUI::pasteObjects @ 0x1005b7a0b // // This function is hookable on this platform (idp: pc, 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:24:36 +0000 // __int64 __fastcall GJBaseGameLayer::assignNewStickyGroups(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v3; // r15 unsigned int v4; // r12d __int64 v5; // r13 __int64 v6; // rbx __int64 i; // r14 __int64 v8; // rbx if ( a2 ) { result = sub_1007FEF90(a2); if ( (_DWORD)result ) { v3 = 0; v4 = 0; do { v5 = sub_1007FEFE0(a2, v4); if ( *(int *)(v5 + 872) > 0 ) { if ( !v3 ) v3 = cocos2d::CCDictionary::create(a2, v4); v6 = cocos2d::CCDictionary::objectForKey_1(v3); if ( !v6 ) { v6 = sub_1007FE900(v3); cocos2d::CCDictionary::setObject_1(v3, v6, *(int *)(v5 + 872)); } sub_1007FEBF0(v6, v5); } ++v4; result = sub_1007FEF90(a2); } while ( v4 < (unsigned int)result ); if ( v3 ) { for ( i = *(_QWORD *)(v3 + 56); i; result = GJBaseGameLayer::groupStickyObjects(a1, v8) ) { v8 = *(_QWORD *)(i + 264); i = *(_QWORD *)(i + 288); GJBaseGameLayer::ungroupStickyObjects(a1, v8); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source