//
// EditorUI::onEditColor from 0x3809c8 to 0x3809f8 (48 bytes)
//
// 0 xrefs:
//
// 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 ( EditorUI::editColorButtonUsable(a1) )
{
if ( a1->m_editHSVBtn->getTag(a1->m_editHSVBtn) == 1 )
EditorUI::editHSV(a1);
else
EditorUI::editColor(a1);
EditorUI::updateEditColorButton(a1);
}
}