//
// EditorUI::closeLiveColorSelect from 0x7c5c38 to 0x7c5c6c (52 bytes)
//
// 6 xrefs:
// > EditorUI::editColor @ 0x7c5cec
// > EditorUI::showLiveColorSelectForMode @ 0x7c5de8
// > EditorUI::editHSV @ 0x7c5f24
// > EditorUI::editObject @ 0x7c8b50
// > EditorUI::checkLiveColorSelect @ 0xbdca0c
// > ??> @ 0xaf930
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:08 +0000
//
__int64 __fastcall EditorUI::closeLiveColorSelect(__int64 this)
{
__int64 v1; // x19
if ( *(_QWORD *)(this + 1544) )
{
v1 = this;
this = ColorSelectLiveOverlay::closeColorSelect(*(ColorSelectLiveOverlay **)(this + 1544), nullptr);
*(_QWORD *)(v1 + 1544) = 0;
}
return this;
}