Closed zhangguanzhang closed 1 month ago
Il2Cpp.api.arrayNew(klass, length) always create uint32 array https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/api.ts#L43
Il2Cpp.api.arrayNew(klass, length)
get arrayNew() { return r("il2cpp_array_new", "pointer", ["pointer", "uint32"]); },
how to create Byte[] or uint8 array
Byte[]
try Il2Cpp.array
Il2Cpp.array(Il2Cpp.corlib.class('System.Byte'), Array.from(uint8Array))
Il2Cpp.api.arrayNew(klass, length)
always create uint32 array https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/api.ts#L43how to create
Byte[]
or uint8 array