// Namespace: LuaInterface
public class LuaDLL // TypeDefIndex: 5749
public static int luaL_loadbuffer(IntPtr luaState, byte[] buff, int size, string name); // 0x127E5DC
In the above function, I want to replace the third argument
my code is :
var SystemByte = Il2Cpp.Image.corlib.class("System.Byte");
var buff= Il2Cpp.Array.from(SystemByte, [0x2d, 0x2d, 0x5b, 0x5b, 0x0a, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d]);
The game will pause and flash back,
If the parameters are OK, is there something wrong with my code, and if so, how do I create the third argument
In the above function, I want to replace the third argument
my code is :
The game will pause and flash back, If the parameters are OK, is there something wrong with my code, and if so, how do I create the third argument