//
// EditorUI::processSelectObjects from 0x3a46e0 to 0x3a4742 (98 bytes)
//
// 2 xrefs:
// > EditorUI::selectAll @ 0x3a5aaa
// > EditorUI::selectAllWithDirection @ 0x3a5ba8
//
// 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 i; // r6
cocos2d::CCObject *v5; // r0
GameObject *m_selectedObject; // r3
if ( cocos2d::CCArray::count(a2) )
{
for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )
{
v5 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, i);
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject && m_selectedObject->m_uniqueID != v5[14].m_uOrderOfArrival
|| !cocos2d::CCArray::containsObject(a1->m_selectedObjects, v5) )
{
EditorUI::createUndoSelectObject(a1, 0);
break;
}
}
EditorUI::selectObjects(a1, a2, 0);
EditorUI::updateSpecialUIElements(a1);
}
}