using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Switch_Toolbox.Library.IO; using Syroot.BinaryData; namespace FirstPlugin { public class SAHT { public SAHT(string FileName) { Read(new FileReader(FileName)); } public List HashEntries = new List(); private void Read(FileReader reader) { reader.ReadSignature(4, "SAHT"); uint FileSize = reader.ReadUInt32(); uint Offset = reader.ReadUInt32(); uint EntryCount = reader.ReadUInt32(); reader.Seek(Offset, System.IO.SeekOrigin.Begin); for (int i = 0; i