You can add a method in another pull request, suppose pull request 2. After 2 is merged, you can synchronize cocos2d-x latest code, then use the method added in pull request 2.