Remove FinalizeInit

This commit is contained in:
Katy Coe
2019-10-16 16:41:36 +02:00
parent 70def274a7
commit 950c2d6f16
5 changed files with 7 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright 2017 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
Copyright 2017-2019 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
All rights reserved.
*/
@@ -139,10 +139,6 @@ namespace Il2CppInspector
return functionPointers.ToArray();
}
public override void FinalizeInit(Il2CppBinary il2cpp) {
il2cpp.MethodPointers = il2cpp.MethodPointers.Select(x => x - 1).ToArray();
}
public override uint MapVATR(uint uiAddr) {
if (!is64) {
var section = sections.First(x => uiAddr >= x.Address && uiAddr <= (x.Address + x.Size));