//
// EditorUI::getGroupInfo from 0x10047bb24 to 0x10047bc3c (280 bytes)
//
// 3 xrefs:
// > EditorUI::editButtonUsable @ 0x10047b700
// > EditorUI::editButton2Usable @ 0x10047bc74
// > EditorUI::editObjectSpecial @ 0x10047c1a4
//
// 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 11:05:43 +0000
//
void __fastcall EditorUI::getGroupInfo(__int64 a1, _DWORD *a2, __int64 a3, int *a4, int *a5, int *a6)
{
int v9; // w25
int v10; // w24
int v11; // w26
unsigned int v13; // w23
_DWORD *v14; // x0
if ( !a2 )
{
if ( !a3 || !(unsigned int)sub_1002E757C(a3) )
{
v10 = -1;
v11 = -1;
v9 = -1;
goto LABEL_28;
}
v13 = 0;
v9 = -1;
v11 = -1;
v10 = -1;
while ( 1 )
{
v14 = (_DWORD *)sub_1002E75A0(a3, v13);
if ( v9 )
{
if ( v9 != -1 )
{
if ( v14[257] != v9 )
v9 = 0;
if ( !v10 )
goto LABEL_16;
goto LABEL_14;
}
v9 = v14[257];
}
if ( !v10 )
goto LABEL_16;
LABEL_14:
if ( v10 != -1 )
{
if ( v14[312] != v10 )
v10 = 0;
if ( !v11 )
goto LABEL_25;
LABEL_21:
if ( v11 == -1 )
{
v11 = v14[231];
}
else if ( v14[231] != v11 )
{
v11 = 0;
}
goto LABEL_25;
}
v10 = v14[312];
LABEL_16:
if ( v11 )
goto LABEL_21;
LABEL_25:
if ( ++v13 >= (unsigned int)sub_1002E757C(a3) )
goto LABEL_28;
}
}
v9 = a2[257];
v10 = a2[312];
v11 = a2[231];
LABEL_28:
*a4 = v9;
*a5 = v10;
*a6 = v11;
}