For cocos2d-x 3.2