IL2CPP: Fix metadata usage detection for v27 for 32-bit binaries
This commit is contained in:
@@ -171,7 +171,7 @@ namespace Il2CppInspector
|
|||||||
|
|
||||||
// Scan the image looking for a sequential block of at least 'threshold' valid metadata tokens
|
// Scan the image looking for a sequential block of at least 'threshold' valid metadata tokens
|
||||||
while (BinaryImage.Position < BinaryImage.Length && (usagesCount == 0 || sequenceLength > 0)) {
|
while (BinaryImage.Position < BinaryImage.Length && (usagesCount == 0 || sequenceLength > 0)) {
|
||||||
var word = BinaryImage.ReadWord();
|
var word = BinaryImage.ReadObject<ulong>();
|
||||||
|
|
||||||
if (word % 2 != 1 || word >> 32 != 0) {
|
if (word % 2 != 1 || word >> 32 != 0) {
|
||||||
sequenceLength = 0;
|
sequenceLength = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user