Fix 1-off function pointers in PE files
This commit is contained in:
@@ -140,7 +140,6 @@ namespace Il2CppInspector
|
||||
}
|
||||
|
||||
public override void FinalizeInit(Il2CppBinary il2cpp) {
|
||||
// Mach-O function pointers have an annoying habit of being 1-off
|
||||
il2cpp.MethodPointers = il2cpp.MethodPointers.Select(x => x - 1).ToArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user