modified cocos2d-x library CCDirector::replaceScene