//
// EditorUI::showLiveColorSelectForMode from 0x4840b4 to 0x484104 (80 bytes)
//
// 2 xrefs:
// > EditorUI::showLiveColorSelectForModeSpecial @ 0x484150
// > LevelSettingsLayer::onLiveEdit @ 0x6a8b6a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:24 +0000
//
int __fastcall EditorUI::showLiveColorSelectForMode(EditorUI *this, int a2)
{
GameManager *v4; // r0
int v5; // r0
ColorSelectLiveOverlay *ColorAction; // r0
ColorAction *v7; // r2
int v8; // r0
EditorUI::closeLiveColorSelect(this);
v4 = EditorUI::closeLiveHSVSelect(this);
v5 = GameManager::sharedState(v4);
ColorAction = (ColorSelectLiveOverlay *)GJEffectManager::getColorAction(
*(GJEffectManager **)(*(_DWORD *)(*(_DWORD *)(v5 + 408) + 2084) + 264),
a2);
v8 = ColorSelectLiveOverlay::createWithActions(ColorAction, nullptr, v7);
*((_DWORD *)this + 256) = v8;
*(_DWORD *)(v8 + 568) = (char *)this + 320;
*(_DWORD *)(*((_DWORD *)this + 256) + 452) = this;
return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 256) + 656))(*((_DWORD *)this + 256));
}