//
// GameObject::belongsToGroup from 0x35652e to 0x356556 (40 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::stopTriggersInGroup @ 0x36daa0
// > EditorUI::canSelectObject @ 0x37d852
// > EditorUI::selectObjects @ 0x3a30bc
//
// 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
//
bool GameObject::belongsToGroup(GameObject *a1, int a2)
{
int m_groupCount; // r2
int i; // r3
m_groupCount = a1->m_groupCount;
if ( m_groupCount > 0 )
{
for ( i = 0; i < m_groupCount; ++i )
{
if ( a1->m_groups->__elems_[i] == a2 )
return 1;
}
}
return 0;
}