//
// ChallengesPage::onClose from 0x14009f060 to 0x14009f09a (58 bytes)
//
// 3 xrefs:
// > ChallengesPage::init @ 0x14009dbfc
// > DailyLevelPage::init @ 0x14017002c
// > ??> @ 0x14091304c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:26:05 +0000
//
// Merged with: ChallengesPage::onClose, DailyLevelPage::onClose
__int64 __fastcall ChallengesPage::onClose(cocos2d::CCNode *a1)
{
__int64 v2; // rdx
cocos2d::CCNode::stopAllActions(a1);
cocos2d::CCNode::unscheduleAllSelectors(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);
LOBYTE(v2) = 1;
return (*(__int64 (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v2);
}