{"type": "func", "start": 4297009484, "end": 4297009652, "name": "GJBaseGameLayer::removeFromGroupParents", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroupParents from 0x1001f294c to 0x1001f29f4 (168 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x10035b910\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::removeFromGroupParents(GJBaseGameLayer *a1, GameObject *a2)\n{\n  cocos2d::CCObject *v4; // x0\n  cocos2d::CCObject *v5; // x21\n  __int64 v6; // x22\n  __int64 v7; // x0\n\n  if ( a2->m_hasGroupParentsString )\n  {\n    v4 = cocos2d::CCDictionary::objectForKey(a1->m_parentGroupIDs, (unsigned int)a2->m_uniqueID);\n    if ( v4 )\n    {\n      v5 = v4;\n      if ( (unsigned int)sub_10024A36C(v4) )\n      {\n        v6 = 0;\n        do\n        {\n          v7 = sub_10024A388(v5, v6);\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupsDict, *(int *)(v7 + 56));\n          v6 = (unsigned int)(v6 + 1);\n        }\n        while ( (unsigned int)v6 < (unsigned int)sub_10024A36C(v5) );\n      }\n      cocos2d::CCDictionary::setObject(a1->m_removedParentGroupIDs, v5, (unsigned int)a2->m_uniqueID);\n      cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupIDs, (unsigned int)a2->m_uniqueID);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroupParents from 0x1001f294c to 0x1001f29f4 (168 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x10035b910\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001f294c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001f2950\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001f2954\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001f2958\nLDRB            W8, [X1,#0x492]                                        ; +0x10, 0x1001f295c\nCMP             W8, #1                                                 ; +0x14, 0x1001f2960\nB.NE            loc_1001F29E4                                          ; +0x18, 0x1001f2964\nMOV             X19, X1                                                ; +0x1c, 0x1001f2968\nMOV             X20, X0                                                ; +0x20, 0x1001f296c\nLDR             X0, [X0,#0xE78]                                        ; +0x24, 0x1001f2970\nLDR             W1, [X1,#0x394]                                        ; +0x28, 0x1001f2974\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x2c, 0x1001f2978\nCBZ             X0, loc_1001F29E4                                      ; +0x30, 0x1001f297c\nMOV             X21, X0                                                ; +0x34, 0x1001f2980\nBL              sub_10024A36C                                          ; +0x38, 0x1001f2984\nCBZ             W0, loc_1001F29BC                                      ; +0x3c, 0x1001f2988\nMOV             W22, #0                                                ; +0x40, 0x1001f298c\nMOV             X0, X21                                                ; +0x44, 0x1001f2990\nMOV             X1, X22                                                ; +0x48, 0x1001f2994\nBL              sub_10024A388                                          ; +0x4c, 0x1001f2998\nLDRSW           X1, [X0,#0x38]                                         ; +0x50, 0x1001f299c\nLDR             X0, [X20,#0xE70]                                       ; +0x54, 0x1001f29a0\nBL              cocos2d__CCDictionary__removeObjectForKey              ; +0x58, 0x1001f29a4\nADD             W22, W22, #1                                           ; +0x5c, 0x1001f29a8\nMOV             X0, X21                                                ; +0x60, 0x1001f29ac\nBL              sub_10024A36C                                          ; +0x64, 0x1001f29b0\nCMP             W22, W0                                                ; +0x68, 0x1001f29b4\nB.CC            loc_1001F2990                                          ; +0x6c, 0x1001f29b8\nLDR             X0, [X20,#0xE80]                                       ; +0x70, 0x1001f29bc\nLDR             W2, [X19,#0x394]                                       ; +0x74, 0x1001f29c0\nMOV             X1, X21                                                ; +0x78, 0x1001f29c4\nBL              cocos2d__CCDictionary__setObject                       ; +0x7c, 0x1001f29c8\nLDR             X0, [X20,#0xE78]                                       ; +0x80, 0x1001f29cc\nLDR             W1, [X19,#0x394]                                       ; +0x84, 0x1001f29d0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x88, 0x1001f29d4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x8c, 0x1001f29d8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x90, 0x1001f29dc\nB               cocos2d__CCDictionary__removeObjectForKey              ; +0x94, 0x1001f29e0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x98, 0x1001f29e4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x9c, 0x1001f29e8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xa0, 0x1001f29ec\nRET                                                                    ; +0xa4, 0x1001f29f0", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x10035b910"], "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"}