public static GClass100 smethod_1(byte[] byte_10, GEnum3 genum3_0) { GClass100 gclass100 = new GClass100(); MemoryStream memoryStream = new MemoryStream(byte_10); try { gclass100.method_0((Stream)memoryStream, genum3_0); } catch { memoryStream.Dispose(); throw; } memoryStream.Dispose(); return(gclass100); }
// Token: 0x06000036 RID: 54 RVA: 0x00004D8C File Offset: 0x00002F8C private static void smethod_3() { while (!GClass0.Disconnect) { Thread.Sleep(5000); if (GClass3.smethod_4()) { if (GClass3.LastUserStatus != GEnum3.const_0) { GClass3.LastUserStatus = GEnum3.const_0; new SetUserStatus(GClass3.LastUserStatus).Execute(Class10.client_0); } } else if (GClass3.LastUserStatus != GEnum3.const_1) { GClass3.LastUserStatus = GEnum3.const_1; new SetUserStatus(GClass3.LastUserStatus).Execute(Class10.client_0); } } }
public static byte[] smethod_0(GEnum3 genum3_0) { switch (genum3_0) { case GEnum3.const_0: return(GClass98.byte_0); case GEnum3.const_1: return(GClass98.byte_3); case GEnum3.const_2: throw new NotImplementedException(); case GEnum3.const_3: return(GClass98.byte_1); default: throw new NotImplementedException(); } }
// Token: 0x060003A2 RID: 930 RVA: 0x00003CCB File Offset: 0x00001ECB public SetUserStatus(GEnum3 message) { this.Message = message; }
public GAttribute48(GEnum3 genum3_1) { // ISSUE: reference to a compiler-generated field this.genum3_0 = genum3_1; }
public GClass33(string string_7, TitleId titleId_1, string string_8, byte[] byte_2, DataSize dataSize_1, string string_9, string string_10, GEnum3 genum3_1) : base(string_7, titleId_1, string_8, byte_2, dataSize_1, string_10, genum3_1) { this.Version = string_9; }
public GClass31(string string_7, TitleId titleId_1, string string_8, byte[] byte_2, DataSize dataSize_1, string string_9, GEnum3 genum3_1) : base(string_7, titleId_1, string_8, byte_2, dataSize_1, string_9, genum3_1) { }
public static extern IntPtr CreateNamedPipe(string string_0, GEnum3 genum3_0, GEnum4 genum4_0, uint uint_4, uint uint_5, uint uint_6, uint uint_7, IntPtr intptr_0);
public GAttribute47(GEnum3 genum3_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(); this.method_1(genum3_1); }
private void method_1(GEnum3 genum3_1) { this.genum3_0 = genum3_1; }
public TitleId(string id) { id = id.ToUpper(); this.IdRaw = id.Substring(0, 16); string string_0 = id.Substring(0, 8); // ISSUE: reference to a compiler-generated method switch (Class200.smethod_0(string_0)) { case 307253171: if (string_0 == "0005000C") { this.System = GEnum3.const_1; this.IdType = GEnum1.const_2; break; } goto default; case 407918885: if (string_0 == "0005000E") { this.System = GEnum3.const_1; this.IdType = GEnum1.const_0; break; } goto default; case 769560898: if (string_0 == "0004000E") { this.System = GEnum3.const_0; this.IdType = GEnum1.const_0; break; } goto default; case 792022325: if (string_0 == "00010001") { this.System = GEnum3.const_3; this.IdType = GEnum1.const_1; break; } goto default; case 2583915261: if (string_0 == "00048004") { this.System = GEnum3.const_0; this.IdType = GEnum1.const_4; break; } goto default; case 3135102009: if (string_0 == "00040000") { this.System = GEnum3.const_0; this.IdType = GEnum1.const_3; break; } goto default; case 3276788566: if (string_0 == "00050000") { this.System = GEnum3.const_1; this.IdType = GEnum1.const_1; break; } goto default; case 3622932888: if (string_0 == "0004008C") { this.System = GEnum3.const_0; this.IdType = GEnum1.const_2; break; } goto default; default: this.System = GEnum3.const_1; this.IdType = GEnum1.const_5; break; } this.Low = id.Substring(0, 8); this.High = id.Substring(8, 8); }
public GClass32(string string_15, TitleId titleId_1, string string_16, byte[] byte_2, DataSize dataSize_1, List <GClass33> list_2, string string_17, string string_18, string string_19, string string_20, Platform platform_1, GEnum3 genum3_1) : base(string_15, titleId_1, string_16, byte_2, dataSize_1, string_20, genum3_1) { this.EshopId = string_17; this.IconUrl = string_19; this.ProductId = string_18; this.Updates = list_2; this.Platform = platform_1; }
protected GClass30(string string_7, TitleId titleId_1, string string_8, byte[] byte_2, DataSize dataSize_1, string string_9, GEnum3 genum3_1) { this.Name = string_7; this.TitleId = titleId_1; this.Region = string_8; this.TicketArray = byte_2; if (this.TicketArray != null) { this.Ticket = GClass99.smethod_7(byte_2, genum3_1); } this.Size = dataSize_1; this.RootDownloadLocation = string_9; this.System = genum3_1; }
public GAttribute47(GEnum3 genum3_1) { Class13.NP5bWyNzLwONS(); base..ctor(); this.method_1(genum3_1); }
private void method_0(Stream stream_0, GEnum3 genum3_0) { stream_0.Seek(0L, SeekOrigin.Begin); byte[] buffer1 = new byte[8]; stream_0.Read(buffer1, 0, 4); this.uint_1 = GClass27.smethod_5(BitConverter.ToUInt32(buffer1, 0)); stream_0.Read(this.byte_7, 0, this.byte_7.Length); stream_0.Read(this.byte_4, 0, this.byte_4.Length); stream_0.Read(this.byte_3, 0, this.byte_3.Length); stream_0.Read(buffer1, 0, 4); this.byte_9 = buffer1[0]; this.byte_2 = buffer1[1]; this.byte_8 = buffer1[2]; this.byte_5 = buffer1[3]; stream_0.Read(buffer1, 0, 8); stream_0.Read(buffer1, 0, 8); this.TitleId = GClass27.smethod_6(BitConverter.ToUInt64(buffer1, 0)); stream_0.Read(buffer1, 0, 4); this.uint_2 = GClass27.smethod_5(BitConverter.ToUInt32(buffer1, 0)); stream_0.Read(buffer1, 0, 2); this.ushort_3 = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 0)); stream_0.Read(buffer1, 0, 2); this.ushort_4 = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 0)); stream_0.Read(buffer1, 0, 2); this.ushort_6 = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 0)); stream_0.Read(this.byte_6, 0, this.byte_6.Length); stream_0.Read(buffer1, 0, 4); this.uint_0 = GClass27.smethod_5(BitConverter.ToUInt32(buffer1, 0)); stream_0.Read(buffer1, 0, 8); this.TitleVersion = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 0)); this.NumOfContents = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 2)); this.ushort_2 = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 4)); this.ushort_5 = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 6)); if (genum3_0 != GEnum3.const_3) { stream_0.Position = 2820L; } this.list_0 = new List <GClass101>(); for (int index = 0; index < (int)this.NumOfContents; ++index) { GClass101 gclass101; if (genum3_0 != GEnum3.const_1 && genum3_0 != GEnum3.const_3) { if (genum3_0 != GEnum3.const_0) { throw new NotImplementedException(); } GClass102 gclass102 = new GClass102(); gclass102.Hash = new byte[32]; gclass101 = (GClass101)gclass102; } else { GClass103 gclass103 = new GClass103(); gclass103.Hash = new byte[20]; gclass101 = (GClass101)gclass103; } stream_0.Read(buffer1, 0, 8); gclass101.ContentId = GClass27.smethod_5(BitConverter.ToUInt32(buffer1, 0)); gclass101.Index = GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 4)); gclass101.GEnum6_0 = (GEnum6)GClass27.smethod_4(BitConverter.ToUInt16(buffer1, 6)); stream_0.Read(buffer1, 0, 8); gclass101.Size = new DataSize(GClass27.smethod_6(BitConverter.ToUInt64(buffer1, 0))); stream_0.Read(gclass101.Hash, 0, gclass101.Hash.Length); this.list_0.Add(gclass101); if (genum3_0 == GEnum3.const_1) { byte[] buffer2 = new byte[12]; stream_0.Read(buffer2, 0, 12); } } stream_0.Read(this.Certificate1, 0, this.Certificate1.Length); stream_0.Read(this.Certificate2, 0, this.Certificate2.Length); }
public static GClass100 smethod_0(string string_0, GEnum3 genum3_0) { return(GClass100.smethod_1(File.ReadAllBytes(string_0), genum3_0)); }