//
// EditorUI::deselectObjectsColor from 0x140110790 to 0x14011081c (140 bytes)
//
// 4 xrefs:
// > EditorUI::checkLiveColorSelect @ 0x140110729
// > ??> @ 0x14066eff8
// > ??> @ 0x14066f008
// > ??> @ 0x1406c8eec
//
// 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)
{
GameObject *m_selectedObject; // rcx
unsigned int i; // ebx
GameObject *v4; // rax
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject )
{
m_selectedObject->m_isSelected = 0;
GameObject::updateObjectEditorColor(m_selectedObject);
}
else if ( cocos2d::CCArray::count(a1->m_selectedObjects) )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_selectedObjects); ++i )
{
v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i);
v4->m_isSelected = 0;
GameObject::updateObjectEditorColor(v4);
}
}
}