//
// EditorUI::deselectObjectsColor from 0x686640 to 0x6866b4 (116 bytes)
//
// 3 xrefs:
// > ??> @ 0x39d20
// > EditorUI::checkLiveColorSelect @ 0x68e598
// > ??> @ 0x1229c98
//
// 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::deselectObjectsColor(EditorUI *a1)
{
unsigned int v2; // w19
GameObject *v3; // x0
bool v4; // cf
unsigned int v5; // w1
if ( a1->m_selectedObject )
{
GameObject::deselectObject(a1->m_selectedObject);
}
else
{
v2 = 0;
if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )
{
while ( 1 )
{
v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects);
v5 = v2++;
if ( v4 )
break;
v3 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v5);
GameObject::deselectObject(v3);
}
}
}
}