//
// TutorialLayer::onClose from 0x1001bd788 to 0x1001bd7e0 (88 bytes)
//
// 4 xrefs:
// > TutorialLayer::onNext @ 0x1001bd7ec
// > TutorialLayer::keyBackClicked @ 0x1001bdc00
// > sub_1001BDC04 @ 0x1001bdc08
// > TutorialLayer::init @ 0x1001bd534
//
// 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 TutorialLayer::onClose(TutorialLayer *a1, cocos2d::CCObject *a2)
{
((void (__fastcall *)(TutorialLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_tutorialLayer->removeAllChildrenWithCleanup)(
a1->m_tutorialLayer,
1);
((void (__fastcall *)(TutorialLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
TutorialLayer::removeTutorialTexture(a1);
}