//
// HSVLiveOverlay::closeColorSelect from 0x69c0bc to 0x69c0f2 (54 bytes)
//
// 2 xrefs:
// > EditorUI::closeLiveHSVSelect @ 0x483fe4
// > HSVLiveOverlay::keyBackClicked @ 0x69c0f4
//
// 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:56:19 +0000
//
int __fastcall HSVLiveOverlay::closeColorSelect(HSVLiveOverlay *this, cocos2d::CCObject *a2)
{
int v2; // r3
void (__fastcall ***v4)(_DWORD, HSVLiveOverlay *); // r0
v2 = *(_DWORD *)this;
*((_BYTE *)this + 554) = a2 != nullptr;
(*(void (**)(void))(v2 + 536))();
v4 = *((void (__fastcall ****)(_DWORD, HSVLiveOverlay *))this + 135);
if ( v4 )
(**v4)(v4, this);
return (*(int (__fastcall **)(HSVLiveOverlay *, int))(*(_DWORD *)this + 264))(this, 1);
}