Add ReadMappedNullTerminatedString
This commit is contained in:
@@ -31,6 +31,7 @@ namespace Il2CppInspector
|
||||
uint ReadUInt32();
|
||||
ushort ReadUInt16();
|
||||
byte ReadByte();
|
||||
string ReadMappedNullTerminatedString(uint uiAddr);
|
||||
}
|
||||
|
||||
internal class FileFormatReader<T> : BinaryObjectReader, IFileFormatReader where T : FileFormatReader<T>
|
||||
@@ -91,6 +92,10 @@ namespace Il2CppInspector
|
||||
return ReadArray<U>(MapVATR(uiAddr), count);
|
||||
}
|
||||
|
||||
public string ReadMappedNullTerminatedString(uint uiAddr) {
|
||||
return ReadNullTerminatedString(MapVATR(uiAddr));
|
||||
}
|
||||
|
||||
// Perform file format-based post-load manipulations to the IL2Cpp data
|
||||
public virtual void FinalizeInit(Il2CppBinary il2cpp) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user