3.8.x 引擎源码解答

项目刚从2.4.12升到3.8.5,原生层源码有点看不懂了,举个例子

3.8.5的Node分node.ts,node.jsb.ts,node.cpp,在3个文件在原生层怎么相互结合引用的

因为2.4.12定制了引擎,比如removeAllChildren(dtroy)加了参数,直接在函数里会调destroy,老项目代码直接到3.x原生层就会报错,主要没看懂这个参数怎么传递到原生层的

原生层的node在jsb_scene_auto.cpp看着接口都重新实现了一次,没找到桥接的关联点

arm64-v8a/generated/cocos/bindings/auto/jsb_scene_auto.cpp, 2287): wrong number of arguments: 1, was expecting 0
E/ [ERROR] Failed to invoke js_cc_Node_removeAllChildren