//
// EditorUI::showLiveColorSelectForModeSpecial from 0x1003f5b94 to 0x1003f5c18 (132 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::onLiveEdit @ 0x10004fc88
//
// 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::showLiveColorSelectForModeSpecial(EditorUI *a1, int a2)
{
GameObject *m_selectedObject; // x0
cocos2d::CCArray *m_selectedObjects; // x8
cocos2d::ccArray *data; // x9
__int64 num; // x8
GameObject **arr; // x21
unsigned __int64 v9; // x22
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject )
{
GameObject::deselectObject(m_selectedObject);
}
else if ( (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) )
{
m_selectedObjects = a1->m_selectedObjects;
if ( m_selectedObjects )
{
data = m_selectedObjects->data;
num = data->num;
if ( (_DWORD)num )
{
arr = (GameObject **)data->arr;
v9 = (unsigned __int64)&arr[num - 1];
do
{
if ( !*arr )
break;
GameObject::deselectObject(*arr++);
}
while ( (unsigned __int64)arr <= v9 );
}
}
}
EditorUI::showLiveColorSelectForMode(a1, a2);
}