diff --git a/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs b/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs index fa4b1823..6609a8c3 100644 --- a/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs +++ b/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs @@ -104,7 +104,6 @@ private static ulong FindCodeGenModulesListFromMscorlib(Il2CppBinary binary, ulo while (binary.ReadNUint() != 0) { endOfCodegenModulesList += pointerSize; - binary.Position += (long)pointerSize; } //We're at the end, so walk one back to get the last valid pointer.