{"type": "func", "start": 4297008548, "end": 4297008656, "name": "GJBaseGameLayer::removeFromGroups", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroups from 0x1001f25a4 to 0x1001f2610 (108 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x10035b91c\n// > LevelEditorLayer::applyGroupState @ 0x100363b14\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::removeFromGroups(GJBaseGameLayer *a1, GameObject *a2)\n{\n  int v4; // w21\n  __int64 GroupID; // x0\n\n  if ( a2->m_groupCount >= 1 )\n  {\n    v4 = 0;\n    do\n    {\n      GroupID = GameObject::getGroupID(a2, v4);\n      ((void (__fastcall *)(GJBaseGameLayer *, GameObject *, __int64))a1->removeFromGroup)(a1, a2, GroupID);\n      ++v4;\n    }\n    while ( v4 < a2->m_groupCount );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroups from 0x1001f25a4 to 0x1001f2610 (108 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x10035b91c\n; > LevelEditorLayer::applyGroupState @ 0x100363b14\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\nLDRSH           W8, [X1,#0x490]                                        ; +0x0, 0x1001f25a4\nCMP             W8, #1                                                 ; +0x4, 0x1001f25a8\nB.LT            locret_1001F260C                                       ; +0x8, 0x1001f25ac\nSTP             X22, X21, [SP,#var_30]!                                ; +0xc, 0x1001f25b0\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x10, 0x1001f25b4\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x14, 0x1001f25b8\nADD             X29, SP, #0x30+var_10                                  ; +0x18, 0x1001f25bc\nMOV             X19, X1                                                ; +0x1c, 0x1001f25c0\nMOV             X20, X0                                                ; +0x20, 0x1001f25c4\nMOV             W21, #0                                                ; +0x24, 0x1001f25c8\nMOV             X0, X19                                                ; +0x28, 0x1001f25cc\nMOV             X1, X21                                                ; +0x2c, 0x1001f25d0\nBL              GameObject__getGroupID                                 ; +0x30, 0x1001f25d4\nMOV             X2, X0                                                 ; +0x34, 0x1001f25d8\nLDR             X8, [X20]                                              ; +0x38, 0x1001f25dc\nLDR             X8, [X8,#0x520]                                        ; +0x3c, 0x1001f25e0\nMOV             X0, X20                                                ; +0x40, 0x1001f25e4\nMOV             X1, X19                                                ; +0x44, 0x1001f25e8\nBLR             X8                                                     ; +0x48, 0x1001f25ec\nADD             W21, W21, #1                                           ; +0x4c, 0x1001f25f0\nLDRSH           W8, [X19,#0x490]                                       ; +0x50, 0x1001f25f4\nCMP             W21, W8                                                ; +0x54, 0x1001f25f8\nB.LT            loc_1001F25CC                                          ; +0x58, 0x1001f25fc\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x5c, 0x1001f2600\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x60, 0x1001f2604\nLDP             X22, X21, [SP+0x30+var_30],#0x30                       ; +0x64, 0x1001f2608\nRET                                                                    ; +0x68, 0x1001f260c", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x10035b91c", "LevelEditorLayer::applyGroupState @ 0x100363b14"], "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"}