Update the deprecated Func and update bindings-generator

The related bindings-generator pr is https://github.com/cocos2d/bindings-generator/pull/138