//
// cocos2d::CCDirector::checkSceneReference from 0x5c36a0 to 0x5c36bc (28 bytes)
//
// 4 xrefs:
// > cocos2d::CCDirector::replaceScene @ 0x5c36fe
// > cocos2d::CCDirector::popScene @ 0x5c377e
// > cocos2d::CCDirector::popSceneWithTransition @ 0x5c37c6
// > cocos2d::CCDirector::popToSceneStackLevel @ 0x5c3876
//
// 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 cocos2d::CCDirector::checkSceneReference(cocos2d::CCDirector *a1)
{
if ( a1->m_pSceneReference )
{
if ( a1->m_pSceneReference == (cocos2d::CCScene *)cocos2d::CCArray::lastObject(a1->m_pobScenesStack) )
a1->m_pSceneReference = nullptr;
}
}