//
// EditorUI::getGroupInfo from 0x68bb20 to 0x68bc20 (256 bytes)
//
// 4 xrefs:
// > EditorUI::editButtonUsable @ 0x68bc68
// > EditorUI::editButton2Usable @ 0x68c210
// > EditorUI::editObjectSpecial @ 0x68c48c
// > ??> @ 0x71328
//
// 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
//
void EditorUI::getGroupInfo(EditorUI *a1, GameObject *a2, cocos2d::CCArray *a3, int *a4, int *a5, int *a6)
{
int m_objectID; // w22
GameObjectClassType m_classType; // w21
GameObjectType m_savedObjectType; // w20
unsigned int v13; // w19
_DWORD *v14; // x0
if ( !a2 )
{
m_savedObjectType = -1;
m_classType = -1;
m_objectID = -1;
if ( !a3 )
goto LABEL_3;
v13 = 0;
m_classType = -1;
m_objectID = -1;
while ( 1 )
{
while ( 1 )
{
if ( v13 >= (unsigned int)cocos2d::CCArray::count(a3) )
goto LABEL_3;
v14 = (_DWORD *)cocos2d::CCArray::objectAtIndex(a3, v13);
if ( m_objectID )
{
if ( m_objectID == -1 )
{
m_objectID = v14[253];
}
else if ( m_objectID != v14[253] )
{
m_objectID = 0;
}
}
if ( m_classType )
{
if ( m_classType == -1 )
{
m_classType = v14[308];
}
else if ( m_classType != v14[308] )
{
m_classType = Game;
}
}
if ( m_savedObjectType )
break;
LABEL_19:
++v13;
}
if ( m_savedObjectType != -1 )
{
if ( v14[227] != m_savedObjectType )
m_savedObjectType = Solid;
goto LABEL_19;
}
m_savedObjectType = v14[227];
++v13;
}
}
m_objectID = a2->m_objectID;
m_classType = a2->m_classType;
m_savedObjectType = a2->m_savedObjectType;
LABEL_3:
*a4 = m_objectID;
*a5 = m_classType;
*a6 = m_savedObjectType;
}