Fix regression added in eeb46c58
This commit is contained in:
@@ -63,6 +63,10 @@ namespace Il2CppInspector
|
|||||||
if (opcode == 0x838B) {
|
if (opcode == 0x838B) {
|
||||||
Image.Position = Image.MapVATR(metadata);
|
Image.Position = Image.MapVATR(metadata);
|
||||||
metadata = Image.ReadUInt32();
|
metadata = Image.ReadUInt32();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (opcode != 0x838B && opcode != 0x838D)
|
||||||
|
return (0, 0);
|
||||||
|
|
||||||
// Repeat the same logic for extracting the Code pointer
|
// Repeat the same logic for extracting the Code pointer
|
||||||
Image.Position = funcPtr + 0x2A;
|
Image.Position = funcPtr + 0x2A;
|
||||||
@@ -72,11 +76,12 @@ namespace Il2CppInspector
|
|||||||
if (opcode == 0x838B) {
|
if (opcode == 0x838B) {
|
||||||
Image.Position = Image.MapVATR(code);
|
Image.Position = Image.MapVATR(code);
|
||||||
code = Image.ReadUInt32();
|
code = Image.ReadUInt32();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (opcode != 0x838B && opcode != 0x838D)
|
||||||
|
return (0, 0);
|
||||||
|
|
||||||
return (code, metadata);
|
return (code, metadata);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (0, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user