//
// GJSpecialColorSelect::onClose from 0x1001af4f4 to 0x1001af550 (92 bytes)
//
// 3 xrefs:
// > GJSpecialColorSelect::keyBackClicked @ 0x1001af678
// > sub_1001AF67C @ 0x1001af680
// > GJSpecialColorSelect::init @ 0x1001aef50
//
// 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 __fastcall GJSpecialColorSelect::onClose(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)
{
GJSpecialColorSelectDelegate *m_delegate; // x0
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(GJSpecialColorSelectDelegate *, GJSpecialColorSelect *, _QWORD))m_delegate->colorSelectClosed)(
m_delegate,
a1,
(unsigned int)a1->m_colorID);
((void (__fastcall *)(GJSpecialColorSelect *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(GJSpecialColorSelect *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}