//
// EditorUI::onEditColor from 0x14011ea90 to 0x14011eaf3 (99 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x1400e0ce8
// > ??> @ 0x1406c94e0
//
// 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::onEditColor(EditorUI *a1, cocos2d::CCObject *a2)
{
if ( a1->m_selectedObject || cocos2d::CCArray::count(a1->m_selectedObjects) )
{
if ( ((unsigned int (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCObject *))a1->m_editHSVBtn->getTag)(
a1->m_editHSVBtn,
a2) == 1 )
EditorUI::editHSV(a1);
else
EditorUI::editColor(a1);
EditorUI::updateEditColorButton(a1);
}
}