//
// EditorUI::processSelectObjects from 0x140111760 to 0x14011181c (188 bytes)
//
// 5 xrefs:
// > EditorPauseLayer::onSelectAll @ 0x1400dce52
// > EditorUI::selectAllWithDirection @ 0x1401116ef
// > ??> @ 0x14066f124
// > ??> @ 0x14066f134
// > ??> @ 0x1406c8f7c
//
// 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::processSelectObjects(EditorUI *a1, cocos2d::CCArray *a2)
{
unsigned int v4; // ebx
struct cocos2d::CCObject *v5; // rax
GameObject *m_selectedObject; // rdx
if ( cocos2d::CCArray::count(a2) )
{
v4 = 0;
if ( cocos2d::CCArray::count(a2) )
{
while ( 1 )
{
v5 = cocos2d::CCArray::objectAtIndex(a2, v4);
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject )
{
if ( m_selectedObject->m_uniqueID != v5[16].m_eObjType )
break;
}
if ( !cocos2d::CCArray::containsObject(a1->m_selectedObjects, v5) )
break;
if ( ++v4 >= cocos2d::CCArray::count(a2) )
goto LABEL_9;
}
EditorUI::createUndoSelectObject(a1, 0);
}
LABEL_9:
EditorUI::selectObjects(a1, a2, 0);
EditorUI::updateObjectInfoLabel(a1);
a1->updateScaleControl(&a1->GJScaleControlDelegate);
}
}