{"type": "func", "start": 4297446740, "end": 4297446792, "name": "GameObject::belongsToGroup", "pseudocode": "// \n// GameObject::belongsToGroup from 0x10025d554 to 0x10025d588 (52 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::stopTriggersInGroup @ 0x100361794\n// > EditorUI::canSelectObject @ 0x1003ed584\n// > EditorUI::selectObjects @ 0x1003ed6ec\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\nbool __fastcall GameObject::belongsToGroup(GameObject *a1, int a2)\n{\n  __int64 m_groupCount; // x8\n  bool v3; // cc\n  __int64 v4; // x8\n  std::array<short, 10> *m_groups; // x9\n  int v6; // t1\n  bool result; // w0\n\n  m_groupCount = a1->m_groupCount;\n  v3 = m_groupCount < 1;\n  v4 = m_groupCount - 1;\n  if ( v3 )\n    return 0;\n  m_groups = a1->m_groups;\n  do\n  {\n    v6 = m_groups->__elems_[0];\n    m_groups = (std::array<short, 10> *)((char *)m_groups + 2);\n    result = v6 == a2;\n  }\n  while ( v6 != a2 && v4-- != 0 );\n  return result;\n}", "assembly": "; \n; GameObject::belongsToGroup from 0x10025d554 to 0x10025d588 (52 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::stopTriggersInGroup @ 0x100361794\n; > EditorUI::canSelectObject @ 0x1003ed584\n; > EditorUI::selectObjects @ 0x1003ed6ec\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           X8, [X0,#0x490]                                        ; +0x0, 0x10025d554\nSUBS            X8, X8, #1                                             ; +0x4, 0x10025d558\nB.LT            loc_10025D580                                          ; +0x8, 0x10025d55c\nLDR             X9, [X0,#0x488]                                        ; +0xc, 0x10025d560\nLDRSH           W10, [X9],#2                                           ; +0x10, 0x10025d564\nCMP             W10, W1                                                ; +0x14, 0x10025d568\nCSET            W0, EQ                                                 ; +0x18, 0x10025d56c\nCCMP            X8, #0, #4, NE                                         ; +0x1c, 0x10025d570\nSUB             X8, X8, #1                                             ; +0x20, 0x10025d574\nB.NE            loc_10025D564                                          ; +0x24, 0x10025d578\nRET                                                                    ; +0x28, 0x10025d57c\nMOV             W0, #0                                                 ; +0x2c, 0x10025d580\nRET                                                                    ; +0x30, 0x10025d584", "xrefs": ["LevelEditorLayer::stopTriggersInGroup @ 0x100361794", "EditorUI::canSelectObject @ 0x1003ed584", "EditorUI::selectObjects @ 0x1003ed6ec"], "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"}