//
// TutorialLayer::onClose from 0x42bad4 to 0x42bb06 (50 bytes)
//
// 2 xrefs:
// > TutorialLayer::keyBackClicked @ 0x42bb08
// > TutorialLayer::onNext @ 0x42c1a6
//
// 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 TutorialLayer::onClose(TutorialLayer *a1, cocos2d::CCObject *a2)
{
a1->setKeypadEnabled(a1, 0);
a1->m_tutorialLayer->removeAllChildrenWithCleanup(a1->m_tutorialLayer, 1);
a1->removeFromParentAndCleanup(a1, 1);
TutorialLayer::removeTutorialTexture(a1);
}