Appgen fork of cocos2d-x