purchase library for cocos2d-x