add cocos2d-x gateway