// // GJBaseGameLayer::sortStickyGroups from 0x10027b210 to 0x10027b328 (280 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateSpecialGroupData @ 0x10027a230 // > LevelEditorLayer::init @ 0x1003f721c // // 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 11:01:52 +0000 // double __fastcall GJBaseGameLayer::sortStickyGroups(__int64 a1) { __int64 v2; // x20 double result; // d0 __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x1 __int64 v7; // x22 __int64 v8; // x0 __int64 v9; // x23 __int64 i; // x22 __int64 v11; // x20 __int64 v12; // x21 v2 = cocos2d::CCDictionary::create(a1); if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 3280)) ) { v4 = 0; do { v5 = sub_1002E75A0(*(_QWORD *)(a1 + 3280), v4); v6 = *(unsigned int *)(v5 + 872); if ( (int)v6 >= 1 ) { v7 = v5; cocos2d::CCDictionary::objectForKey_1(v2, v6); v9 = v8; if ( !v8 ) { v9 = sub_1002E736C(0); cocos2d::CCDictionary::setObject_1(v2, v9, *(int *)(v7 + 872)); } sub_1002E74E0(v9, v7); } v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 3280)) ); } *(_DWORD *)(a1 + 3888) = 0; if ( v2 ) { for ( i = *(_QWORD *)(v2 + 56); i; *(_QWORD *)&result = cocos2d::CCDictionary::setObject_1( *(_QWORD *)(a1 + 3880), v11, *(unsigned int *)(a1 + 3888)).n128_u64[0] ) { v11 = *(_QWORD *)(i + 264); i = *(_QWORD *)(i + 288); ++*(_DWORD *)(a1 + 3888); if ( (unsigned int)sub_1002E757C(v11) ) { v12 = 0; do { *(_DWORD *)(sub_1002E75A0(v11, v12) + 872) = *(_DWORD *)(a1 + 3888); v12 = (unsigned int)(v12 + 1); } while ( (unsigned int)v12 < (unsigned int)sub_1002E757C(v11) ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source