//
// GameManager::didExitPlayscene from 0x10031d310 to 0x10031d358 (72 bytes)
//
// 1 xrefs:
// > PlayLayer::onQuit @ 0x100119554
//
// 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 __fastcall GameManager::didExitPlayscene(GameManager *a1)
{
GameManager *v1; // x0
if ( a1->m_unkBool8 )
{
a1->m_unkBool8 = 0;
if ( cocos2d::CCDirector::sharedDirector()->m_nSmoothFixCounter >= 10 )
{
v1 = GameManager::sharedState();
GameManager::setGameVariable(v1, "0023", 0);
}
}
}