Plugins: Add PreProcessImage

This commit is contained in:
Katy Coe
2020-12-29 01:31:26 +01:00
parent 964d845fd4
commit b5f6bcba72
3 changed files with 22 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ namespace Il2CppInspector
// We re-construct libil2cpp.so from the *.bin files and return it as the first image
internal class ProcessMapReader : FileFormatStream<ProcessMapReader>
{
private MemoryStream il2cpp;
private BinaryObjectStream il2cpp;
public override string DefaultFilename => "maps.txt";
@@ -81,7 +81,7 @@ namespace Il2CppInspector
var lengthLast = il2cppMemory.Last().End - neededFiles.Last().Start;
// Merge the files
il2cpp = new MemoryStream();
il2cpp = new BinaryObjectStream();
for (var i = 0; i < neededFiles.Count; i++) {
var offset = (i == 0)? offsetFirst : 0;