My extension for cocos2dx v3.0