//
// HSVLiveOverlay::closeColorSelect from 0xb50408 to 0xb5046c (100 bytes)
//
// 5 xrefs:
// > EditorUI::closeLiveHSVSelect @ 0x7c5c8c
// > HSVLiveOverlay::keyBackClicked @ 0xb50470
// > ??> @ 0x823d8
// > HSVLiveOverlay::init @ 0xb50a64
// > ??> @ 0x1543630
//
// 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 13:01:58 +0000
//
__int64 __fastcall HSVLiveOverlay::closeColorSelect(HSVLiveOverlay *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD, HSVLiveOverlay *); // x0
*((_BYTE *)this + 730) = a2 != nullptr;
(*(void (__fastcall **)(HSVLiveOverlay *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
v3 = *((void (__fastcall ****)(_QWORD, HSVLiveOverlay *))this + 88);
if ( v3 )
(**v3)(v3, this);
return (*(__int64 (__fastcall **)(HSVLiveOverlay *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}