// Token: 0x0600184F RID: 6223 RVA: 0x00041B3C File Offset: 0x0003FD3C private void method_1() { lock (Class175.object_0) { using (FileStream fileStream = new FileStream(this.string_1, FileMode.Open, FileAccess.Read)) { if (!Class493.smethod_8(fileStream, "AUIF")) { throw new Exception("Auto update state file ID is wrong."); } byte b = (byte)fileStream.ReadByte(); while (!Class493.smethod_9(fileStream, b, 255)) { switch (b) { case 1: this.LastCheckedForUpdate = Class493.smethod_0(fileStream); break; case 2: this.UpdateStepOn = (Enum111)Class493.smethod_4(fileStream); break; case 3: this.AutoUpdaterStatus = (Enum15)Class493.smethod_4(fileStream); break; case 4: this.UpdateVersion = Class493.smethod_1(fileStream); break; case 5: this.ChangesInLatestVersion = Class493.smethod_1(fileStream); break; case 6: this.ChangesIsRTF = Class493.smethod_5(fileStream); break; case 7: this.ErrorTitle = Class493.smethod_1(fileStream); break; case 8: this.ErrorMessage = Class493.smethod_1(fileStream); break; default: Class493.smethod_10(fileStream, b); break; } b = (byte)fileStream.ReadByte(); } } } }
internal static string smethod_0(Class827 A_0, Stream A_1) { int num = 0x12; byte[] sourceArray = A_0.method_0(); if (sourceArray == null) { throw new ArgumentNullException(BookmarkStart.b("帷唹刻䨽п⍁ぃ❅", num)); } byte[] destinationArray = new byte[Math.Min(sourceArray.Length, 0x20)]; Array.Copy(sourceArray, destinationArray, destinationArray.Length); Guid guid = Class493.smethod_0(new object[] { sourceArray }); smethod_2(destinationArray, guid); A_1.Write(destinationArray, 0, destinationArray.Length); A_1.Write(sourceArray, destinationArray.Length, A_0.method_0().Length - destinationArray.Length); return(guid.ToString(BookmarkStart.b("稷", num)).ToUpper()); }