//
// EditorUI::showLiveColorSelectForMode from 0x3808ac to 0x3808fc (80 bytes)
//
// 2 xrefs:
// > EditorUI::showLiveColorSelectForModeSpecial @ 0x380948
// > LevelSettingsLayer::onLiveEdit @ 0x56f8ee
//
// 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 *v4; // r0
ColorAction *ColorAction; // r0
ColorSelectLiveOverlay *v6; // r0
EditorUI::closeLiveColorSelect(a1);
EditorUI::closeLiveHSVSelect(a1);
v4 = GameManager::sharedState();
ColorAction = GJEffectManager::getColorAction(v4->m_levelEditorLayer->m_levelSettings->m_effectManager, a2);
v6 = ColorSelectLiveOverlay::createWithActions(ColorAction, nullptr);
a1->m_colorOverlay = v6;
v6->m_delegate = &a1->ColorSelectDelegate;
a1->m_colorOverlay->m_scene = a1;
a1->m_colorOverlay->show(a1->m_colorOverlay);
}