//
// ColorSelectLiveOverlay::closeColorSelect from 0xa64dc8 to 0xa64e2c (100 bytes)
//
// 5 xrefs:
// > EditorUI::closeLiveColorSelect @ 0x7c5c58
// > ColorSelectLiveOverlay::keyBackClicked @ 0xa64e30
// > ??> @ 0xcdea0
// > ColorSelectLiveOverlay::init @ 0xa66438
// > ??> @ 0x1546110
//
// 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:00:16 +0000
//
__int64 __fastcall ColorSelectLiveOverlay::closeColorSelect(ColorSelectLiveOverlay *this, cocos2d::CCObject *a2)
{
void (__fastcall ***v3)(_QWORD, ColorSelectLiveOverlay *); // x0
*((_BYTE *)this + 857) = a2 != nullptr;
(*(void (__fastcall **)(ColorSelectLiveOverlay *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);
v3 = *((void (__fastcall ****)(_QWORD, ColorSelectLiveOverlay *))this + 92);
if ( v3 )
(**v3)(v3, this);
return (*(__int64 (__fastcall **)(ColorSelectLiveOverlay *, __int64))(*(_QWORD *)this + 528LL))(this, 1);
}