//
// cocos2d::CCDirector::checkSceneReference from 0xad6d40 to 0xad6d88 (72 bytes)
//
// 6 xrefs:
// > cocos2d::CCDirector::replaceScene @ 0xad6df8
// > cocos2d::CCDirector::replaceScene @ 0xad6e54
// > cocos2d::CCDirector::popScene @ 0xad6efc
// > cocos2d::CCDirector::popSceneWithTransition @ 0xad6f8c
// > cocos2d::CCDirector::popToSceneStackLevel @ 0xad7094
// > ??> @ 0x73f80
//
// 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::CCArray::lastObject(a1->m_pobScenesStack) )
a1->m_pSceneReference = nullptr;
}
}