//
// GameObject::getGroupID from 0x1005be630 to 0x1005be64f (31 bytes)
//
// 30 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x10002f8fd
// > EditorUI::dynamicGroupUpdate @ 0x1000447d6
// > EditorUI::replaceGroupID @ 0x1000450b6
// > PlayLayer::addToGroupOld @ 0x1000b6d65
// > PlayLayer::removeFromGroupOld @ 0x1000b6e16
// > LevelEditorLayer::addSpecial @ 0x1000dfef6
// > LevelEditorLayer::updateVisibility @ 0x1000eb2ad
// > LevelEditorLayer::updateVisibility @ 0x1000eb3c2
// > LevelEditorLayer::updateVisibility @ 0x1000eb51d
// > LevelEditorLayer::updateVisibility @ 0x1000eb612
// > LevelEditorLayer::updateObjectColors @ 0x1000eb96d
// > LevelEditorLayer::updateObjectColors @ 0x1000eba72
// > LevelEditorLayer::updateObjectColors @ 0x1000ebb7d
// > LevelEditorLayer::updateObjectColors @ 0x1000ebc82
// > LevelEditorLayer::getNextFreeGroupID @ 0x1000ebdc6
// > LevelEditorLayer::recreateGroups @ 0x1000f0fe6
// > LevelEditorLayer::copyObjectState @ 0x1000f3a95
// > LevelEditorLayer::applyGroupState @ 0x1000f3b45
// > LevelEditorLayer::pasteGroupState @ 0x1000f3d9a
// > LevelEditorLayer::pasteGroupState @ 0x1000f3e76
// > sub_1000F67E0 @ 0x1000f69d6
// > sub_1000F78E0 @ 0x1000f7952
// > GJBaseGameLayer::optimizeMoveGroups @ 0x100118246
// > sub_10012C210 @ 0x10012c2e6
// > GJBaseGameLayer::addToGroups @ 0x10013cf66
// > GJBaseGameLayer::removeFromGroups @ 0x10013d1b6
// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x10014a6cd
// > GJBaseGameLayer::opacityForObject @ 0x100151102
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100316297
// > SetGroupIDLayer::updateGroupIDButtons @ 0x1003163bb
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall GameObject::getGroupID(GameObject *a1, int a2)
{
int result; // eax
std::array *m_groups; // rcx
result = 0;
if ( (unsigned int)a2 <= 9 )
{
m_groups = a1->m_groups;
if ( m_groups )
return m_groups->__elems_[a2];
}
return result;
}