{"type": "func", "start": 4297010784, "end": 4297010944, "name": "GJBaseGameLayer::ungroupStickyObjects", "pseudocode": "// \n// GJBaseGameLayer::ungroupStickyObjects from 0x1001f2e60 to 0x1001f2f00 (160 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::groupStickyObjects @ 0x1001f2ddc\n// > GJBaseGameLayer::assignNewStickyGroups @ 0x1001f2fc8\n// > EditorUI::onUngroupSticky @ 0x1003c7bb8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJBaseGameLayer::ungroupStickyObjects(GJBaseGameLayer *a1, cocos2d::CCArray *a2)\n{\n  __int64 v4; // x21\n  __int64 v5; // x22\n  cocos2d::CCObject *v6; // x0\n  cocos2d::CCObject *v7; // x23\n\n  if ( (unsigned int)sub_10024A36C(a2) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_10024A388(a2, v4);\n      v6 = cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, *(int *)(v5 + 872));\n      if ( v6 )\n      {\n        v7 = v6;\n        sub_10024A444(v6, v5, 1);\n        if ( !(unsigned int)sub_10024A36C(v7) )\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_linkedGroupDict, *(int *)(v5 + 872));\n      }\n      *(_DWORD *)(v5 + 872) = 0;\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a2) );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::ungroupStickyObjects from 0x1001f2e60 to 0x1001f2f00 (160 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::groupStickyObjects @ 0x1001f2ddc\n; > GJBaseGameLayer::assignNewStickyGroups @ 0x1001f2fc8\n; > EditorUI::onUngroupSticky @ 0x1003c7bb8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x1001f2e60\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001f2e64\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001f2e68\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1001f2e6c\nADD             X29, SP, #0x30                                         ; +0x10, 0x1001f2e70\nMOV             X19, X1                                                ; +0x14, 0x1001f2e74\nMOV             X20, X0                                                ; +0x18, 0x1001f2e78\nMOV             X0, X1                                                 ; +0x1c, 0x1001f2e7c\nBL              sub_10024A36C                                          ; +0x20, 0x1001f2e80\nCBZ             W0, loc_1001F2EEC                                      ; +0x24, 0x1001f2e84\nMOV             W21, #0                                                ; +0x28, 0x1001f2e88\nMOV             X0, X19                                                ; +0x2c, 0x1001f2e8c\nMOV             X1, X21                                                ; +0x30, 0x1001f2e90\nBL              sub_10024A388                                          ; +0x34, 0x1001f2e94\nMOV             X22, X0                                                ; +0x38, 0x1001f2e98\nLDR             X0, [X20,#0xEB8]                                       ; +0x3c, 0x1001f2e9c\nLDRSW           X1, [X22,#0x368]                                       ; +0x40, 0x1001f2ea0\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x44, 0x1001f2ea4\nCBZ             X0, loc_1001F2ED4                                      ; +0x48, 0x1001f2ea8\nMOV             X23, X0                                                ; +0x4c, 0x1001f2eac\nMOV             X1, X22                                                ; +0x50, 0x1001f2eb0\nMOV             W2, #1                                                 ; +0x54, 0x1001f2eb4\nBL              sub_10024A444                                          ; +0x58, 0x1001f2eb8\nMOV             X0, X23                                                ; +0x5c, 0x1001f2ebc\nBL              sub_10024A36C                                          ; +0x60, 0x1001f2ec0\nCBNZ            W0, loc_1001F2ED4                                      ; +0x64, 0x1001f2ec4\nLDR             X0, [X20,#0xEB8]                                       ; +0x68, 0x1001f2ec8\nLDRSW           X1, [X22,#0x368]                                       ; +0x6c, 0x1001f2ecc\nBL              cocos2d__CCDictionary__removeObjectForKey              ; +0x70, 0x1001f2ed0\nSTR             WZR, [X22,#0x368]                                      ; +0x74, 0x1001f2ed4\nADD             W21, W21, #1                                           ; +0x78, 0x1001f2ed8\nMOV             X0, X19                                                ; +0x7c, 0x1001f2edc\nBL              sub_10024A36C                                          ; +0x80, 0x1001f2ee0\nCMP             W21, W0                                                ; +0x84, 0x1001f2ee4\nB.CC            loc_1001F2E8C                                          ; +0x88, 0x1001f2ee8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8c, 0x1001f2eec\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x90, 0x1001f2ef0\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x94, 0x1001f2ef4\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x98, 0x1001f2ef8\nRET                                                                    ; +0x9c, 0x1001f2efc", "xrefs": ["GJBaseGameLayer::groupStickyObjects @ 0x1001f2ddc", "GJBaseGameLayer::assignNewStickyGroups @ 0x1001f2fc8", "EditorUI::onUngroupSticky @ 0x1003c7bb8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}