{"type": "func", "start": 4297446592, "end": 4297446624, "name": "GameObject::getGroupID", "pseudocode": "// \n// GameObject::getGroupID from 0x10025d4c0 to 0x10025d4e0 (32 bytes)\n// \n// 24 xrefs:\n// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003df78\n// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e030\n// > sub_1001EB95C @ 0x1001eba20\n// > GJBaseGameLayer::addToGroups @ 0x1001f242c\n// > GJBaseGameLayer::removeFromGroups @ 0x1001f25d4\n// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa824\n// > GJBaseGameLayer::opacityForObject @ 0x1001fe430\n// > LevelEditorLayer::addSpecial @ 0x100359dd8\n// > LevelEditorLayer::updateVisibility @ 0x10035ed40\n// > LevelEditorLayer::updateVisibility @ 0x10035ee94\n// > LevelEditorLayer::updateVisibility @ 0x10035efac\n// > LevelEditorLayer::updateVisibility @ 0x10035f0c4\n// > LevelEditorLayer::updateObjectColors @ 0x10035f360\n// > LevelEditorLayer::updateObjectColors @ 0x10035f474\n// > LevelEditorLayer::updateObjectColors @ 0x10035f558\n// > LevelEditorLayer::updateObjectColors @ 0x10035f66c\n// > LevelEditorLayer::getNextFreeGroupID @ 0x10035f780\n// > LevelEditorLayer::recreateGroups @ 0x100361e2c\n// > LevelEditorLayer::applyGroupState @ 0x100363b40\n// > sub_100365230 @ 0x1003652dc\n// > sub_100365890 @ 0x100365900\n// > EditorUI::updateObjectInfoLabel @ 0x1003e7ba8\n// > EditorUI::dynamicGroupUpdate @ 0x1003f2d2c\n// > EditorUI::replaceGroupID @ 0x1003f3174\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\nint __fastcall GameObject::getGroupID(GameObject *a1, int a2)\n{\n  std::array<short, 10> *m_groups; // x8\n\n  if ( (unsigned int)a2 <= 9 && (m_groups = a1->m_groups) != nullptr )\n    return m_groups->__elems_[a2];\n  else\n    return 0;\n}", "assembly": "; \n; GameObject::getGroupID from 0x10025d4c0 to 0x10025d4e0 (32 bytes)\n; \n; 24 xrefs:\n; > SetGroupIDLayer::updateGroupIDButtons @ 0x10003df78\n; > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e030\n; > sub_1001EB95C @ 0x1001eba20\n; > GJBaseGameLayer::addToGroups @ 0x1001f242c\n; > GJBaseGameLayer::removeFromGroups @ 0x1001f25d4\n; > GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa824\n; > GJBaseGameLayer::opacityForObject @ 0x1001fe430\n; > LevelEditorLayer::addSpecial @ 0x100359dd8\n; > LevelEditorLayer::updateVisibility @ 0x10035ed40\n; > LevelEditorLayer::updateVisibility @ 0x10035ee94\n; > LevelEditorLayer::updateVisibility @ 0x10035efac\n; > LevelEditorLayer::updateVisibility @ 0x10035f0c4\n; > LevelEditorLayer::updateObjectColors @ 0x10035f360\n; > LevelEditorLayer::updateObjectColors @ 0x10035f474\n; > LevelEditorLayer::updateObjectColors @ 0x10035f558\n; > LevelEditorLayer::updateObjectColors @ 0x10035f66c\n; > LevelEditorLayer::getNextFreeGroupID @ 0x10035f780\n; > LevelEditorLayer::recreateGroups @ 0x100361e2c\n; > LevelEditorLayer::applyGroupState @ 0x100363b40\n; > sub_100365230 @ 0x1003652dc\n; > sub_100365890 @ 0x100365900\n; > EditorUI::updateObjectInfoLabel @ 0x1003e7ba8\n; > EditorUI::dynamicGroupUpdate @ 0x1003f2d2c\n; > EditorUI::replaceGroupID @ 0x1003f3174\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\nCMP             W1, #9                                                 ; +0x0, 0x10025d4c0\nB.HI            loc_10025D4D8                                          ; +0x4, 0x10025d4c4\nLDR             X8, [X0,#0x488]                                        ; +0x8, 0x10025d4c8\nCBZ             X8, loc_10025D4D8                                      ; +0xc, 0x10025d4cc\nLDRSH           W0, [X8,W1,UXTW#1]                                     ; +0x10, 0x10025d4d0\nRET                                                                    ; +0x14, 0x10025d4d4\nMOV             W0, #0                                                 ; +0x18, 0x10025d4d8\nRET                                                                    ; +0x1c, 0x10025d4dc", "xrefs": ["SetGroupIDLayer::updateGroupIDButtons @ 0x10003df78", "SetGroupIDLayer::updateGroupIDButtons @ 0x10003e030", "sub_1001EB95C @ 0x1001eba20", "GJBaseGameLayer::addToGroups @ 0x1001f242c", "GJBaseGameLayer::removeFromGroups @ 0x1001f25d4", "GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa824", "GJBaseGameLayer::opacityForObject @ 0x1001fe430", "LevelEditorLayer::addSpecial @ 0x100359dd8", "LevelEditorLayer::updateVisibility @ 0x10035ed40", "LevelEditorLayer::updateVisibility @ 0x10035ee94", "LevelEditorLayer::updateVisibility @ 0x10035efac", "LevelEditorLayer::updateVisibility @ 0x10035f0c4", "LevelEditorLayer::updateObjectColors @ 0x10035f360", "LevelEditorLayer::updateObjectColors @ 0x10035f474", "LevelEditorLayer::updateObjectColors @ 0x10035f558", "LevelEditorLayer::updateObjectColors @ 0x10035f66c", "LevelEditorLayer::getNextFreeGroupID @ 0x10035f780", "LevelEditorLayer::recreateGroups @ 0x100361e2c", "LevelEditorLayer::applyGroupState @ 0x100363b40", "sub_100365230 @ 0x1003652dc", "sub_100365890 @ 0x100365900", "EditorUI::updateObjectInfoLabel @ 0x1003e7ba8", "EditorUI::dynamicGroupUpdate @ 0x1003f2d2c", "EditorUI::replaceGroupID @ 0x1003f3174"], "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"}