extension library for cocos2dx