//
// GameObject::getGroupID from 0x10025d4c0 to 0x10025d4e0 (32 bytes)
//
// 24 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
//
// 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)
{
std::array *m_groups; // x8
if ( (unsigned int)a2 <= 9 && (m_groups = a1->m_groups) != nullptr )
return m_groups->__elems_[a2];
else
return 0;
}