IL2CPP: Fix field offsets for certain 64-bit binaries (#10)

This commit is contained in:
Katy Coe
2020-01-06 08:54:52 +01:00
parent a3fd260afc
commit 0b868aae36
4 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright 2017-2019 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
Copyright 2017-2020 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
All rights reserved.
*/
@@ -152,7 +152,7 @@ namespace Il2CppInspector
}
for (var f = 0; f < def.field_count; f++)
offsets.Add(def.fieldStart + f, available? BinaryImage.ReadWord() : 0);
offsets.Add(def.fieldStart + f, available? BinaryImage.ReadUInt32() : 0);
}
}