works with latest version of cocos2d-x