//
// EditorUI::processSelectObjects from 0x1003ee17c to 0x1003ee24c (208 bytes)
//
// 2 xrefs:
// > EditorUI::selectAll @ 0x1003ee140
// > EditorUI::selectAllWithDirection @ 0x1003ee354
//
// 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 __fastcall EditorUI::processSelectObjects(EditorUI *a1, cocos2d::CCArray *a2)
{
unsigned int v4; // w21
__int64 v5; // x0
GameObject *m_selectedObject; // x8
if ( (unsigned int)sub_10024A36C((__int64)a2) )
{
if ( (unsigned int)sub_10024A36C((__int64)a2) )
{
v4 = 0;
while ( 1 )
{
v5 = sub_10024A388((__int64)a2, v4);
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject )
{
if ( m_selectedObject->m_uniqueID != *(_DWORD *)(v5 + 916) )
break;
}
if ( (sub_10024A420((__int64)a1->m_selectedObjects, v5) & 1) == 0 )
break;
if ( ++v4 >= (unsigned int)sub_10024A36C((__int64)a2) )
goto LABEL_11;
}
EditorUI::createUndoSelectObject(a1, 0);
}
LABEL_11:
EditorUI::selectObjects(a1, a2, 0);
EditorUI::updateObjectInfoLabel(a1);
((void (__fastcall *)(EditorUI *))a1->updateScaleControl)(a1);
}
}