//
// SelectArtLayer::onClose from 0x56f2fc to 0x56f32a (46 bytes)
//
// 1 xrefs:
// > SelectArtLayer::keyBackClicked @ 0x56f32c
//
// 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 SelectArtLayer::onClose(SelectArtLayer *a1, cocos2d::CCObject *a2)
{
SelectArtDelegate *m_delegate; // r0
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
m_delegate = a1->m_delegate;
if ( m_delegate )
m_delegate->selectArtClosed(m_delegate, a1);
}