//
// cocos2d::CCDirector::end from 0x5c3772 to 0x5c377a (8 bytes)
//
// 4 xrefs:
// > MenuLayer::endGame @ 0x309f6e
// > cocos2d::CCDirector::popScene @ 0x5c379e
// > cocos2d::CCDirector::popSceneWithTransition @ 0x5c37e4
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x5c3838
//
// 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 cocos2d::CCDirector::end(cocos2d::CCDirector *a1)
{
a1->m_bPurgeDirecotorInNextLoop = 1;
}