//
// PlayLayer::onExit from 0x3ff7b0 to 0x3ff7dc (44 bytes)
//
// 0 xrefs:
//
// 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 11:47:23 +0000
//
cocos2d::CCDirector *__fastcall PlayLayer::onExit(PlayLayer *this)
{
AppDelegate *v2; // r0
cocos2d::CCDirector *result; // r0
AppDelegate *v4; // r0
v2 = (AppDelegate *)PlayLayer::dtFlushCells(this);
result = (cocos2d::CCDirector *)AppDelegate::get(v2);
if ( !*((_BYTE *)result + 9) )
{
v4 = (AppDelegate *)cocos2d::CCDirector::sharedDirector(result);
*((_BYTE *)v4 + 142) = 0;
*(_BYTE *)(AppDelegate::get(v4) + 9) = 1;
return (cocos2d::CCDirector *)cocos2d::CCLayer::onExit(this);
}
return result;
}