//
// cocos2d::CCDirector::end from 0x7caa22 to 0x7caa2a (8 bytes)
//
// 4 xrefs:
// > MenuLayer::endGame @ 0x3f94da
// > cocos2d::CCDirector::popScene @ 0x7caa4e
// > cocos2d::CCDirector::popSceneWithTransition @ 0x7caa94
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x7caae8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:30 +0000
//
int __fastcall cocos2d::CCDirector::end(int this)
{
*(_BYTE *)(this + 148) = 1;
return this;
}