11
2- export function create_luaL_loadbuffer ( loadL_bufferPtr :NativePointer ) :NativeFunction {
2+ export function createFunc_luaL_loadbuffer ( loadL_bufferPtr :NativePointer ) :NativeFunction {
33 var luaL_loadbuffer = new NativeFunction ( loadL_bufferPtr , "int" , [ "pointer" , "pointer" , "size_t" , "pointer" ] )
44 return luaL_loadbuffer
55}
6- export function create_luaL_lua_pcall ( lua_pcallPtr :NativePointer ) :NativeFunction {
6+ export function createFunc_luaL_lua_pcall ( lua_pcallPtr :NativePointer ) :NativeFunction {
77 var lua_pcall = new NativeFunction ( lua_pcallPtr , "int" , [ "pointer" , "int" , "int" , "int" ] )
88 return lua_pcall
99}
10- export function dumpLuaScript ( loadL_bufferPtr :NativePointer ) {
10+ export function dump_luaL_loadbuffer ( loadL_bufferPtr :NativePointer ) {
1111 Interceptor . attach ( loadL_bufferPtr , {
1212 onEnter :function ( args ) {
1313 // console.log(args[2].readCString(args[3].toInt32()))
@@ -26,7 +26,7 @@ export function dumpLuaScript(loadL_bufferPtr:NativePointer){
2626 }
2727 } )
2828}
29- export function hookLuaScript ( loadL_bufferPtr :NativePointer , callback :( scriptName :String , scriptStrBuffer :String , scriptBuffer :ArrayBuffer ) => void ) {
29+ export function hook_luaL_loadbuffer ( loadL_bufferPtr :NativePointer , callback :( scriptName :String , scriptStrBuffer :String , scriptBuffer :ArrayBuffer ) => void ) {
3030 Interceptor . attach ( loadL_bufferPtr , {
3131 onEnter :function ( args ) {
3232 // console.log(args[2].readCString(args[3].toInt32()))
0 commit comments