{"type": "func", "start": 4656448, "end": 4656502, "name": "GJBaseGameLayer::removeFromGroups", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroups from 0x470d40 to 0x470d76 (54 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::applyGroupState @ 0x368ae6\n// > LevelEditorLayer::removeSpecial @ 0x36aba6\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; // r4\n  int GroupID; // r0\n\n  if ( a2->m_groupCount > 0 )\n  {\n    for ( i = 0; i < a2->m_groupCount; ++i )\n    {\n      GroupID = GameObject::getGroupID(a2, i);\n      a1->removeFromGroup(a1, a2, GroupID);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroups from 0x470d40 to 0x470d76 (54 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::applyGroupState @ 0x368ae6\n; > LevelEditorLayer::removeSpecial @ 0x36aba6\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.W         R3, [R1,#0x3F4]                                        ; +0x0, 0x470d40\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x470d44\nCMP             R3, #0                                                 ; +0x6, 0x470d46\nMOV             R6, R0                                                 ; +0x8, 0x470d48\nMOV             R5, R1                                                 ; +0xa, 0x470d4a\nBGT             loc_470D50                                             ; +0xc, 0x470d4c\nPOP             {R4-R6,PC}                                             ; +0xe, 0x470d4e\nMOVS            R4, #0                                                 ; +0x10, 0x470d50\nLDRSH.W         R3, [R5,#0x3F4]                                        ; +0x12, 0x470d52\nCMP             R4, R3                                                 ; +0x16, 0x470d56\nBGE             locret_470D74                                          ; +0x18, 0x470d58\nMOV             R1, R4; int                                            ; +0x1a, 0x470d5a\nMOV             R0, R5; this                                           ; +0x1c, 0x470d5c\nBL              _ZN10GameObject10getGroupIDEi; GameObject::getGroupID(int) ; +0x1e, 0x470d5e\nLDR             R3, [R6]                                               ; +0x22, 0x470d62\nMOV             R1, R5                                                 ; +0x24, 0x470d64\nADDS            R4, #1                                                 ; +0x26, 0x470d66\nLDR.W           R3, [R3,#0x290]                                        ; +0x28, 0x470d68\nMOV             R2, R0                                                 ; +0x2c, 0x470d6c\nMOV             R0, R6                                                 ; +0x2e, 0x470d6e\nBLX             R3                                                     ; +0x30, 0x470d70\nB               loc_470D52                                             ; +0x32, 0x470d72\nPOP             {R4-R6,PC}                                             ; +0x34, 0x470d74", "xrefs": ["LevelEditorLayer::applyGroupState @ 0x368ae6", "LevelEditorLayer::removeSpecial @ 0x36aba6"], "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"}