//
// ChallengesPage::onClose from 0x4cba80 to 0x4cbaaa (42 bytes)
//
// 1 xrefs:
// > ChallengesPage::keyBackClicked @ 0x4cbaac
//
// 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 ChallengesPage::onClose(ChallengesPage *a1, cocos2d::CCObject *a2)
{
cocos2d::CCNode::stopAllActions(a1);
cocos2d::CCNode::unscheduleAllSelectors(a1);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}