{"type": "func", "start": 8770128, "end": 8770236, "name": "GJBaseGameLayer::removeFromGroups", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroups from 0x85d250 to 0x85d2bc (108 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::applyGroupState @ 0x6618d0\n// > LevelEditorLayer::removeSpecial @ 0x6657b8\n// > <???> @ 0x86e08\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 GJBaseGameLayer::removeFromGroups(GJBaseGameLayer *a1, GameObject *a2)\n{\n  int i; // w19\n  int v5; // w1\n  int GroupID; // w0\n\n  for ( i = 0; a2->m_groupCount > i; ++i )\n  {\n    v5 = i;\n    GroupID = GameObject::getGroupID(a2, v5);\n    a1->removeFromGroup(a1, a2, GroupID);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroups from 0x85d250 to 0x85d2bc (108 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::applyGroupState @ 0x6618d0\n; > LevelEditorLayer::removeSpecial @ 0x6657b8\n; > <???> @ 0x86e08\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x85d250\nMOV             X29, SP                                                ; +0x4, 0x85d254\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0x85d258\nMOV             X21, X0                                                ; +0xc, 0x85d25c\nLDRSH           W0, [X1,#0x480]                                        ; +0x10, 0x85d260\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x14, 0x85d264\nCMP             W0, WZR                                                ; +0x18, 0x85d268\nMOV             X20, X1                                                ; +0x1c, 0x85d26c\nMOV             W19, #0                                                ; +0x20, 0x85d270\nB.LE            loc_85D2AC                                             ; +0x24, 0x85d274\nMOV             W1, W19; int                                           ; +0x28, 0x85d278\nMOV             X0, X20; this                                          ; +0x2c, 0x85d27c\nADD             W19, W19, #1                                           ; +0x30, 0x85d280\nBL              _ZN10GameObject10getGroupIDEi; GameObject::getGroupID(int) ; +0x34, 0x85d284\nMOV             W2, W0                                                 ; +0x38, 0x85d288\nLDR             X3, [X21]                                              ; +0x3c, 0x85d28c\nMOV             X0, X21                                                ; +0x40, 0x85d290\nMOV             X1, X20                                                ; +0x44, 0x85d294\nLDR             X3, [X3,#0x520]                                        ; +0x48, 0x85d298\nBLR             X3                                                     ; +0x4c, 0x85d29c\nLDRSH           W0, [X20,#0x480]                                       ; +0x50, 0x85d2a0\nCMP             W0, W19                                                ; +0x54, 0x85d2a4\nB.GT            loc_85D278                                             ; +0x58, 0x85d2a8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x85d2ac\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0x85d2b0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x85d2b4\nRET                                                                    ; +0x68, 0x85d2b8", "xrefs": ["LevelEditorLayer::applyGroupState @ 0x6618d0", "LevelEditorLayer::removeSpecial @ 0x6657b8", "<???> @ 0x86e08"], "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"}