//
// EditorUI::getGroupInfo from 0x483360 to 0x4833f0 (144 bytes)
//
// 3 xrefs:
// > EditorUI::editButtonUsable @ 0x48341e
// > EditorUI::editButton2Usable @ 0x4837d8
// > EditorUI::editObjectSpecial @ 0x4839ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:23 +0000
//
void __fastcall EditorUI::getGroupInfo(EditorUI *this, GameObject *a2, cocos2d::CCArray *a3, int *a4, int *a5, int *a6)
{
int v8; // r7
int v9; // r6
int v10; // r4
unsigned int v11; // r5
_DWORD *v12; // r0
if ( a2 )
{
v8 = *((_DWORD *)a2 + 223);
v9 = *((_DWORD *)a2 + 271);
v10 = *((_DWORD *)a2 + 197);
}
else if ( a3 )
{
v10 = -1;
v11 = 0;
v9 = -1;
v8 = -1;
while ( v11 < cocos2d::CCArray::count(a3) )
{
v12 = (_DWORD *)cocos2d::CCArray::objectAtIndex(a3, v11);
if ( v8 )
{
if ( v8 == -1 )
{
v8 = v12[223];
}
else if ( v12[223] != v8 )
{
v8 = 0;
}
}
if ( v9 )
{
if ( v9 == -1 )
{
v9 = v12[271];
}
else if ( v12[271] != v9 )
{
v9 = 0;
}
}
if ( v10 )
{
if ( v10 == -1 )
{
v10 = v12[197];
}
else if ( v12[197] != v10 )
{
v10 = 0;
}
}
++v11;
}
}
else
{
v10 = -1;
v9 = -1;
v8 = -1;
}
*a4 = v8;
*a5 = v9;
*a6 = v10;
}