public Class324 method_0(Class324 class324_0) { if (class324_0.byte_0 == this.byte_0 && class324_0.int_0[0] == this.int_0[0] && (class324_0.object_0 == null || class324_0.object_0 == this.object_0)) { return(this); } foreach (Class324 current in this.list_0) { Class324 @class = current.method_0(class324_0); if (@class != null) { return(@class); } } return(null); }
public Class324 method_0(Class324 class324_0) { if (class324_0.byte_0 == this.byte_0 && class324_0.int_0[0] == this.int_0[0] && (class324_0.object_0 == null || class324_0.object_0 == this.object_0)) { return this; } foreach (Class324 current in this.list_0) { Class324 @class = current.method_0(class324_0); if (@class != null) { return @class; } } return null; }
public virtual void vmethod_0(Stream26 stream26_0) { this.byte_0 = stream26_0.ReadByte2(); if (this.byte_0 != 10) { throw new Exception(string.Concat(new object[] { "Unknown : ", this.byte_0, " at position : ", stream26_0.Position })); } this.int_0 = new int[] { stream26_0.ReadInt() }; while (stream26_0.Length > stream26_0.Position) { int num = (int)stream26_0.ReadByte2(); if (num == 10) { stream26_0.Position -= 1L; Class324 @class = new Class324(); @class.vmethod_0(stream26_0); this.list_0.Add(@class); } else { if (num == 0) { break; } stream26_0.Position -= 1L; zzStreamClass325 class2 = new zzStreamClass325(); class2.vmethod_0(stream26_0); this.list_0.Add(class2); } } }
private void SaveFileControl_MenuItem_Click(object sender, EventArgs e) { string a = KeyGenerator.OpenOrSaveFile("Select Save File to Import. Current Save File will be Overwritten!", "GH3 Save File|s000.d", true); if (a != "") { Class324 @class = new Class324(a); @class.method_0(new Class324(872398018)).list_0[0].int_0[1] = -1; string text = "Progress" + (new string[] { "A", "B", "C", "D", "E" })[this.list_0.IndexOf(KeyGenerator.GetFileNameNoExt(this.class319_0.string_0).Remove(0, 2))]; text = string.Concat(new string[] { Environment.GetFolderPath(Environment.SpecialFolder.Personal), "\\Aspyr\\Guitar Hero III\\Save\\", text, "}{", text }); if (!Directory.Exists(text)) { Directory.CreateDirectory(text); } @class.method_1(text); } }