//
// EditorUI::getGroupInfo from 0x7c485c to 0x7c495c (256 bytes)
//
// 4 xrefs:
// > EditorUI::editButtonUsable @ 0x7c49a4
// > EditorUI::editButton2Usable @ 0x7c4f4c
// > EditorUI::editObjectSpecial @ 0x7c51f8
// > ??> @ 0x98650
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:08 +0000
//
void __fastcall EditorUI::getGroupInfo(EditorUI *this, GameObject *a2, cocos2d::CCArray *a3, int *a4, int *a5, int *a6)
{
int v10; // w22
int v11; // w21
int v12; // w20
unsigned int v13; // w19
_DWORD *v14; // x0
if ( !a2 )
{
v12 = -1;
v11 = -1;
v10 = -1;
if ( !a3 )
goto LABEL_3;
v13 = 0;
v11 = -1;
v10 = -1;
while ( 1 )
{
while ( 1 )
{
if ( v13 >= (unsigned int)cocos2d::CCArray::count(a3) )
goto LABEL_3;
v14 = (_DWORD *)cocos2d::CCArray::objectAtIndex(a3, v13);
if ( v10 )
{
if ( v10 == -1 )
{
v10 = v14[257];
}
else if ( v10 != v14[257] )
{
v10 = 0;
}
}
if ( v11 )
{
if ( v11 == -1 )
{
v11 = v14[312];
}
else if ( v11 != v14[312] )
{
v11 = 0;
}
}
if ( v12 )
break;
LABEL_19:
++v13;
}
if ( v12 != -1 )
{
if ( v14[231] != v12 )
v12 = 0;
goto LABEL_19;
}
v12 = v14[231];
++v13;
}
}
v10 = *((_DWORD *)a2 + 257);
v11 = *((_DWORD *)a2 + 312);
v12 = *((_DWORD *)a2 + 231);
LABEL_3:
*a4 = v10;
*a5 = v11;
*a6 = v12;
}