//
// EditorUI::colorSelectClosed from 0x380dd4 to 0x380e10 (60 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x380e14
//
// 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 EditorUI::colorSelectClosed(EditorUI *a1, cocos2d::CCNode *a2)
{
int v3; // r5
if ( a2 == a1->m_colorOverlay )
{
v3 = BYTE1(a2[2].m_obAnchorPointInPoints.y);
a1->m_colorOverlay = nullptr;
}
else
{
if ( a2 != a1->m_hsvOverlay )
return;
v3 = BYTE2(a2[2].__vftable);
a1->m_hsvOverlay = nullptr;
}
EditorUI::resetSelectedObjectsColor(a1);
if ( v3 )
EditorUI::updateEditColorButton(a1);
}