//
// GameManager::didExitPlayscene from 0x5f0fe4 to 0x5f1028 (68 bytes)
//
// 2 xrefs:
// > PlayLayer::onQuit @ 0x5d086c
// > ??> @ 0x93438
//
// 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 GameManager::didExitPlayscene(GameManager *a1)
{
GameManager *v1; // x0
if ( a1->m_unkBool8 )
{
a1->m_unkBool8 = 0;
if ( cocos2d::CCDirector::sharedDirector()->m_nSmoothFixCounter > 9 )
{
v1 = GameManager::sharedState();
GameManager::setGameVariable(v1, "0023", 0);
}
}
}