Fix bug reading 64-bit pointer array
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Il2CppInspector
|
|||||||
|
|
||||||
// Reads a list of pointers, then reads each object pointed to
|
// Reads a list of pointers, then reads each object pointed to
|
||||||
public List<U> ReadMappedObjectPointerArray<U>(ulong uiAddr, int count) where U : new() {
|
public List<U> ReadMappedObjectPointerArray<U>(ulong uiAddr, int count) where U : new() {
|
||||||
var pointers = ReadMappedArray<uint>(uiAddr, count);
|
var pointers = ReadMappedArray<ulong>(uiAddr, count);
|
||||||
var array = new List<U>();
|
var array = new List<U>();
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
array.Add(ReadMappedObject<U>(pointers[i]));
|
array.Add(ReadMappedObject<U>(pointers[i]));
|
||||||
|
|||||||
Reference in New Issue
Block a user