//
// GJSpecialColorSelect::onClose from 0x8e66c0 to 0x8e6720 (96 bytes)
//
// 4 xrefs:
// > GJSpecialColorSelect::keyBackClicked @ 0x8e6724
// > ??> @ 0xa61b8
// > GJSpecialColorSelect::init @ 0x8e6d34
// > ??> @ 0x122dbd0
//
// 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 GJSpecialColorSelect::onClose(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)
{
GJSpecialColorSelectDelegate *m_delegate; // x0
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->colorSelectClosed(m_delegate, a1, a1->m_colorID);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}