cocos2d-x helper