//
// HSVLiveOverlay::closeColorSelect from 0x5641d4 to 0x56420a (54 bytes)
//
// 2 xrefs:
// > EditorUI::closeLiveHSVSelect @ 0x3807dc
// > HSVLiveOverlay::keyBackClicked @ 0x56420c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void HSVLiveOverlay::closeColorSelect(HSVLiveOverlay *a1, cocos2d::CCObject *a2)
{
HSVLiveOverlay_vtbl *v2; // r3
ColorSelectDelegate *m_delegate; // r0
v2 = a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_unkBool3 = a2 != nullptr;
((void (*)(void))v2->setKeypadEnabled)();
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->colorSelectClosed(m_delegate, a1);
a1->removeFromParentAndCleanup(a1, 1);
}