//
// EditorUI::showLiveColorSelectForMode from 0x68e2d8 to 0x68e34c (116 bytes)
//
// 4 xrefs:
// > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e384
// > EditorUI::showLiveColorSelectForModeSpecial @ 0x68e3f4
// > LevelSettingsLayer::onLiveEdit @ 0xa344dc
// > ??> @ 0xa3068
//
// 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::showLiveColorSelectForMode(EditorUI *a1, int a2)
{
GameManager *v3; // x0
ColorAction *ColorAction; // x0
ColorSelectLiveOverlay *v5; // x0
EditorUI::closeLiveColorSelect(a1);
EditorUI::closeLiveHSVSelect(a1);
v3 = GameManager::sharedState();
ColorAction = GJEffectManager::getColorAction(v3->m_levelEditorLayer->m_levelSettings->m_effectManager, a2);
v5 = ColorSelectLiveOverlay::createWithActions(ColorAction, nullptr);
a1->m_colorOverlay = v5;
v5->m_delegate = &a1->ColorSelectDelegate;
a1->m_colorOverlay->m_scene = a1;
a1->m_colorOverlay->show(a1->m_colorOverlay);
}