{"type": "func", "start": 4297008656, "end": 4297008820, "name": "GJBaseGameLayer::removeFromGroup", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroup from 0x1001f2610 to 0x1001f26b4 (164 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::removeFromGroup @ 0x100361cf4\n// > <???> @ 0x10078fda8\n// > <???> @ 0x1007c0bc0\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::removeFromGroup(GJBaseGameLayer *a1, GameObject *a2, int a3)\n{\n  cocos2d::CCArray *Group; // x0\n  cocos2d::CCArray *OptimizedGroup; // x0\n\n  Group = GJBaseGameLayer::getGroup(a1, a3);\n  sub_10024A444(Group, a2, 1);\n  if ( a2->m_isDecoration2 )\n    OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(a1, a3);\n  else\n    OptimizedGroup = GJBaseGameLayer::getStaticGroup(a1, a3);\n  sub_10024A444(OptimizedGroup, a2, 1);\n  if ( a2->m_hasGroupParentsString && cocos2d::CCDictionary::objectForKey(a1->m_parentGroupsDict, a3) == a2 )\n    GJBaseGameLayer::removeGroupParent(a1, a3);\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroup from 0x1001f2610 to 0x1001f26b4 (164 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::removeFromGroup @ 0x100361cf4\n; > <???> @ 0x10078fda8\n; > <???> @ 0x1007c0bc0\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, 0x1001f2610\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001f2614\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001f2618\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001f261c\nMOV             X19, X2                                                ; +0x10, 0x1001f2620\nMOV             X21, X1                                                ; +0x14, 0x1001f2624\nMOV             X20, X0                                                ; +0x18, 0x1001f2628\nMOV             X1, X2                                                 ; +0x1c, 0x1001f262c\nBL              GJBaseGameLayer__getGroup                              ; +0x20, 0x1001f2630\nMOV             X1, X21                                                ; +0x24, 0x1001f2634\nMOV             W2, #1                                                 ; +0x28, 0x1001f2638\nBL              sub_10024A444                                          ; +0x2c, 0x1001f263c\nLDRB            W8, [X21,#0x50A]                                       ; +0x30, 0x1001f2640\nMOV             X0, X20                                                ; +0x34, 0x1001f2644\nMOV             X1, X19                                                ; +0x38, 0x1001f2648\nCMP             W8, #1                                                 ; +0x3c, 0x1001f264c\nB.NE            loc_1001F265C                                          ; +0x40, 0x1001f2650\nBL              GJBaseGameLayer__getOptimizedGroup                     ; +0x44, 0x1001f2654\nB               loc_1001F2660                                          ; +0x48, 0x1001f2658\nBL              GJBaseGameLayer__getStaticGroup                        ; +0x4c, 0x1001f265c\nMOV             X1, X21                                                ; +0x50, 0x1001f2660\nMOV             W2, #1                                                 ; +0x54, 0x1001f2664\nBL              sub_10024A444                                          ; +0x58, 0x1001f2668\nLDRB            W8, [X21,#0x492]                                       ; +0x5c, 0x1001f266c\nCMP             W8, #1                                                 ; +0x60, 0x1001f2670\nB.NE            loc_1001F268C                                          ; +0x64, 0x1001f2674\nLDR             X0, [X20,#0xE70]                                       ; +0x68, 0x1001f2678\nSXTW            X1, W19                                                ; +0x6c, 0x1001f267c\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x70, 0x1001f2680\nCMP             X0, X21                                                ; +0x74, 0x1001f2684\nB.EQ            loc_1001F269C                                          ; +0x78, 0x1001f2688\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x1001f268c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x1001f2690\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x1001f2694\nRET                                                                    ; +0x88, 0x1001f2698\nMOV             X0, X20                                                ; +0x8c, 0x1001f269c\nMOV             X1, X19                                                ; +0x90, 0x1001f26a0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x94, 0x1001f26a4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x98, 0x1001f26a8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x9c, 0x1001f26ac\nB               GJBaseGameLayer__removeGroupParent                     ; +0xa0, 0x1001f26b0", "xrefs": ["LevelEditorLayer::removeFromGroup @ 0x100361cf4", "<???> @ 0x10078fda8", "<???> @ 0x1007c0bc0"], "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"}