//
// EditorUI::closeLiveHSVSelect from 0x1401be6a0 to 0x1401be706 (102 bytes)
//
// 5 xrefs:
// > EditorUI::editColor @ 0x1401be1d7
// > EditorUI::showLiveColorSelectForMode @ 0x1401be2e7
// > EditorUI::editHSV @ 0x1401be427
// > EditorUI::checkLiveColorSelect @ 0x1401c9710
// > ??> @ 0x14091a4e0
//
// This function is hookable on this platform (idp: pc, 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 11:28:02 +0000
//
__int64 __fastcall EditorUI::closeLiveHSVSelect(__int64 a1)
{
__int64 *v1; // rbx
__int64 v3; // rax
__int64 v4; // rcx
__int64 v5; // rdx
void (__fastcall ***v6)(_QWORD, __int64 *); // rcx
__int64 result; // rax
v1 = *(__int64 **)(a1 + 1624);
if ( v1 )
{
v3 = *v1;
v4 = *(_QWORD *)(a1 + 1624);
*((_BYTE *)v1 + 730) = 0;
(*(void (__fastcall **)(__int64, _QWORD))(v3 + 992))(v4, 0);
v6 = (void (__fastcall ***)(_QWORD, __int64 *))v1[88];
if ( v6 )
(**v6)(v6, v1);
LOBYTE(v5) = 1;
result = (*(__int64 (__fastcall **)(__int64 *, __int64))(*v1 + 520))(v1, v5);
*(_QWORD *)(a1 + 1624) = 0;
}
return result;
}