//
// PlayLayer::onExit from 0x6f2fa4 to 0x6f2ff4 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0xde100
// > ??> @ 0x1428710
//
// This function is hookable on this platform (idp: arm, 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 12:51:49 +0000
//
__int64 __fastcall PlayLayer::onExit(PlayLayer *this)
{
AppDelegate *v2; // x0
__int64 result; // x0
AppDelegate *v4; // x0
v2 = (AppDelegate *)PlayLayer::dtFlushCells(this);
result = *(unsigned __int8 *)(AppDelegate::get(v2) + 17);
if ( !(_DWORD)result )
{
v4 = (AppDelegate *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)result);
*((_BYTE *)v4 + 178) = 0;
*(_BYTE *)(AppDelegate::get(v4) + 17) = 1;
return cocos2d::CCLayer::onExit(this);
}
return result;
}