// Token: 0x06002A6D RID: 10861 RVA: 0x000A42F0 File Offset: 0x000A24F0 public static bool smethod_1() { bool result; lock (Class110.object_0) { try { string text = Path.Combine(Class291.CommonApplicationDataDirectory, Guid.NewGuid().ToString() + ".tmp"); using (MemoryStream memoryStream = new MemoryStream()) { Class110.Instance.method_2(memoryStream); memoryStream.Position = 0L; using (Stream stream = File.Open(text, FileMode.Create, FileAccess.Write, FileShare.None)) { Class470.smethod_0(Class110.string_0, memoryStream, stream); } } Class234.smethod_14(text, Class291.string_15, true); result = true; } catch (Exception ex) { ex.smethod_1(new object[] { Class291.string_15 }); DialogBox.smethod_7(ex, Class291.string_15); result = false; } } return(result); }
// Token: 0x06001B4B RID: 6987 RVA: 0x00053C0C File Offset: 0x00051E0C public void method_2(List <Class524> failedToDelete, string parentDirectory, string childDirectory) { if (Class336.smethod_0(parentDirectory, childDirectory)) { return; } KeyValuePair <string, DirectoryInfo>[] array = Class234.smethod_0(new DirectoryInfo(parentDirectory)); KeyValuePair <string, DirectoryInfo>[] array2 = Class234.smethod_0(new DirectoryInfo(childDirectory)); if (array.Length >= array2.Length) { return; } for (int i = 0; i < array.Length; i++) { if (!string.Equals(array[i].Key, array2[i].Key, StringComparison.OrdinalIgnoreCase)) { return; } } for (int j = array2.Length - 1; j >= array.Length; j--) { if (!this.method_4(failedToDelete, array2[j].Value.FullName)) { return; } } }
// Token: 0x060020BD RID: 8381 RVA: 0x0006F0C4 File Offset: 0x0006D2C4 private void method_3(byte[] data) { if (!this.bool_0) { bool flag = false; try { Class234.smethod_9(data, this.string_0); flag = true; } catch (Exception ex) { ex.smethod_1(new object[] { string.Format("Error saving file: {0}", this.string_0) }); } if (flag) { this.bool_0 = true; this.wmpMain.vmethod_0(this.string_0); return; } this.wmpMain.vmethod_0(""); } }
// Token: 0x06001E4B RID: 7755 RVA: 0x000628E8 File Offset: 0x00060AE8 public static void smethod_17(Stream compressed_patch_stream, string destination_file, uint?overrideExpectedStartingFileLength, Struct43 overrideExpectedStartingHash, uint?overrideExpectedResultingFileLength, Struct43 overrideExpectedResultingHash, EventHandler <EventArgs9> progressChanged) { string text = destination_file + ".tmp"; try { using (MemoryStream memoryStream = new MemoryStream()) { Class219.smethod_0(compressed_patch_stream, memoryStream, false); memoryStream.Position = 0L; Class234.smethod_14(destination_file, text, true); using (Stream stream = File.Open(text, FileMode.Open, FileAccess.Read, FileShare.None)) { using (Stream stream2 = File.Open(destination_file, FileMode.Create, FileAccess.ReadWrite, FileShare.None)) { Class292 @class = new Class292(); if (progressChanged != null) { @class.ProgressChanged += progressChanged; } @class.method_1(stream, memoryStream, stream2, overrideExpectedStartingFileLength, overrideExpectedStartingHash, overrideExpectedResultingFileLength, overrideExpectedResultingHash, false, false); } } } } finally { if (File.Exists(text)) { File.Delete(text); } } }
// Token: 0x060028F8 RID: 10488 RVA: 0x0009AECC File Offset: 0x000990CC public void method_7() { foreach (KeyValuePair <string, Class143.Class144> keyValuePair in this.dictionary_0) { keyValuePair.Value.Dispose(); } this.dictionary_0.Clear(); this.stream_0 = File.Open(Class291.string_14, FileMode.Open, FileAccess.ReadWrite, FileShare.None); using (Stream3 stream = new Stream3(this.stream_0)) { using (BinaryReader binaryReader = new BinaryReader(stream)) { byte[] array = Class143.byte_0; byte[] array2 = binaryReader.ReadBytes(array.Length); if (!array2.smethod_9(array)) { throw new InvalidFileType(array, array2); } int num = binaryReader.ReadInt32(); if (num < this.MinimumVersion || num > this.MaximumVersion) { throw new InvalidFileVersion <int>(this.MinimumVersion, this.MaximumVersion, num); } this.method_9(this.stream_0, binaryReader, num); } } foreach (string filePath in Class234.smethod_1(this.class112_0.ScreenshotSaveDirectory, "*.jpg", ".jpg")) { this.method_6(filePath); } if (this.int_0 > 10) { this.method_8(); } }
// Token: 0x060028F9 RID: 10489 RVA: 0x0009B03C File Offset: 0x0009923C public void method_8() { string text = Path.Combine(Class291.CommonApplicationDataDirectory, Guid.NewGuid().ToString() + ".tmp"); using (Stream stream = File.Open(text, FileMode.Create, FileAccess.ReadWrite, FileShare.None)) { using (BinaryWriter binaryWriter = new BinaryWriter(stream)) { byte[] array = Class143.byte_0; if (array != null) { binaryWriter.Write(array); } binaryWriter.Write(this.Version.Value); this.method_10(stream, binaryWriter); } } if (this.stream_0 != null) { this.stream_0.Close(); this.stream_0.Dispose(); } Class234.smethod_14(text, Class291.string_14, true); this.int_0 = 0; this.method_7(); }
// Token: 0x06001A45 RID: 6725 RVA: 0x0004DA3C File Offset: 0x0004BC3C private void fileSystemWatcher_0_Created(object sender, FileSystemEventArgs e) { WatcherChangeTypes changeType = e.ChangeType; if (changeType != WatcherChangeTypes.Created) { return; } this.method_2(e.FullPath, Class234.smethod_12(e.FullPath), DateTime.Now); }
// Token: 0x06001B4D RID: 6989 RVA: 0x00009F2C File Offset: 0x0000812C private bool method_4(List <Class524> failedToDelete, string directory) { if (Directory.Exists(directory)) { if (!Class234.smethod_2(directory)) { return(this.method_5(failedToDelete, directory)); } failedToDelete.Add(new Class524(directory)); } return(false); }
private void method_0(params Assembly[] assembly_1) { using (IEnumerator <Type> enumerator = assembly_1.SelectMany <Assembly, Type>((Class233 <T> .< > 9__3_0 ?? (Class233 <T> .< > 9__3_0 = new Func <Assembly, IEnumerable <Type> >(Class233 <T> .< > 9.method_1)))).GetEnumerator()) { while (enumerator.MoveNext()) { Class234 <T> class2 = new Class234 <T> { type_0 = enumerator.Current }; if (!this.Any <T>(new Func <T, bool>(class2.method_0))) { base.Add((T)Activator.CreateInstance(class2.type_0, BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, this.func_0(), CultureInfo.InvariantCulture)); } } } }
// Token: 0x06001A59 RID: 6745 RVA: 0x0004E054 File Offset: 0x0004C254 public void method_0() { if (File.Exists(this.string_0)) { while ((DateTime.Now - this.dateTime_1).TotalMilliseconds < 10000.0) { try { if (Class234.smethod_5(this.string_0)) { MethodInvoker methodInvoker = null; MyGallery.Class211.Class212 @class = new MyGallery.Class211.Class212(); @class.class211_0 = this; @class.class140_0 = new Class140(Path.GetFileName(this.string_0), this.string_0, this.dateTime_0); @class.class140_0.bitmap_0 = this.myGallery_0.class143_0.method_5(@class.class140_0.FilePath); if (@class.class140_0.bitmap_0 != null) { Control sender = this.myGallery_0; if (methodInvoker == null) { methodInvoker = new MethodInvoker(@class.method_0); } sender.smethod_6(methodInvoker); } else { @class.class140_0.Dispose(); } break; } Thread.Sleep(100); } catch (FileNotFoundException ex) { ex.smethod_1(new object[] { this.string_0 }); } } } lock (this.myGallery_0.object_0) { this.myGallery_0.int_1--; } }
// Token: 0x0600285B RID: 10331 RVA: 0x00096034 File Offset: 0x00094234 private void BrowseForScreenshotDirectory_Click(object sender, EventArgs e) { if (Class509.CanChangeScreenshotDirectory) { this.folderBrowserDialog_0.SelectedPath = this.class112_0.ScreenshotSaveDirectory; if (this.folderBrowserDialog_0.ShowDialog() == DialogResult.OK) { string screenshotSaveDirectory = this.class112_0.ScreenshotSaveDirectory; string selectedPath = this.folderBrowserDialog_0.SelectedPath; if (!string.IsNullOrEmpty(screenshotSaveDirectory) && Directory.Exists(screenshotSaveDirectory)) { string[] array = Class234.smethod_1(screenshotSaveDirectory, "*.jpg", ".jpg"); if (array.Length > 0) { DialogResult dialogResult = DialogBox.smethod_6("Would you like to move your existing screenshots to the new directory?", "Migrate Screenshots", new Enum39[] { Enum39.const_5, Enum39.const_6, Enum39.const_1 }); DialogResult dialogResult2 = dialogResult; if (dialogResult2 == DialogResult.Cancel) { return; } switch (dialogResult2) { case DialogResult.Yes: Class356.smethod_0(array, selectedPath); break; } } } this.class112_0.ScreenshotSaveDirectory = selectedPath; this.ScreenshotDirectoryBox.Text = selectedPath; } } }
// Token: 0x060018C7 RID: 6343 RVA: 0x00043434 File Offset: 0x00041634 public Enum23 method_4(string filename, out Struct43 actualFileHash, out long actualFileSize) { actualFileSize = 0L; actualFileHash = default(Struct43); Enum23 result; try { if (File.Exists(filename)) { actualFileHash = Class513.smethod_0(filename); if (this.ExpectedSize == (actualFileSize = Class234.smethod_11(filename))) { if (Struct43.smethod_5(this.ExpectedHash, actualFileHash)) { result = Enum23.const_2; } else { result = Enum23.const_1; } } else { result = Enum23.const_1; } } else { result = Enum23.const_0; } } finally { this.ForceRecheck = false; } return(result); }
// Token: 0x06002B3A RID: 11066 RVA: 0x000A7A20 File Offset: 0x000A5C20 private static void smethod_1(EventHandler <EventArgs9> progressChanged, string installPath, Class136 mf, Class337 index, int total, ref int count) { foreach (KeyValuePair <string, Class337.Struct34> keyValuePair in index) { string text = Path.Combine(installPath, keyValuePair.Key); if (!File.Exists(text) || Class234.smethod_11(text) != keyValuePair.Value.ExpectedSize || Struct43.smethod_6(Class513.smethod_0(text), keyValuePair.Value.ExpectedHash)) { if (mf.method_6(keyValuePair.Key)) { Class338 @class = mf[keyValuePair.Key]; mf.method_15(@class); @class.smethod_0(text); @class.Data = null; Class110.Instance.CreatedFileArchive.method_4(text); } count++; if (progressChanged != null) { progressChanged(null, new EventArgs9((long)count, (long)total)); } } } }
// Token: 0x060018C8 RID: 6344 RVA: 0x000434B8 File Offset: 0x000416B8 public Enum23 method_5(Class186 lastFile, string filename, out Struct43 actualFileHash) { actualFileHash = default(Struct43); Enum23 result; try { if (File.Exists(filename)) { if (!this.ForceRecheck && !lastFile.ForceRecheck && !(this.Version != lastFile.Version)) { if (this.ExpectedSize == Class234.smethod_11(filename)) { return(Enum23.const_2); } } actualFileHash = Class513.smethod_0(filename); if (Struct43.smethod_5(this.ExpectedHash, actualFileHash)) { result = Enum23.const_2; } else { result = Enum23.const_1; } } else { result = Enum23.const_0; } } finally { this.ForceRecheck = false; } return(result); }
// Token: 0x06001DDE RID: 7646 RVA: 0x0006058C File Offset: 0x0005E78C public static void smethod_18(string directory, int maxLogFiles) { IEnumerable <string> source = Class234.smethod_1(directory, "toontown-*.log", ".log"); if (Class129.func_0 == null) { Class129.func_0 = new Func <string, string>(Class129.smethod_19); } string[] array = source.OrderByDescending(Class129.func_0).Skip(maxLogFiles).ToArray <string>(); foreach (string text in array) { try { File.Delete(text); } catch (Exception ex) { ex.smethod_1(new object[] { text }); } } }
internal static void smethod_1(ShapeBase A_0, bool A_1, Class398 A_2, Interface48 A_3) { int num = 11; string str = BookmarkStart.b("䜰ल䘴弶堸䬺堼", 11); string item = null; bool flag = false; switch (A_0.ShapeType) { case ShapeType.OleObject: item = string.Format(BookmarkStart.b("ሰ氲䴴ܶस഼怾㕀㡂畄㩆", num), 0x4b); flag = true; break; case ShapeType.Group: str = BookmarkStart.b("䜰ल刴䔶嘸为䴼", num); break; case ShapeType.NonPrimitive: str = BookmarkStart.b("䜰ल䘴弶堸䬺堼", num); break; case ShapeType.Rectangle: str = BookmarkStart.b("䜰ल䜴制娸伺", num); break; case ShapeType.RoundRectangle: str = BookmarkStart.b("䜰ल䜴堶䰸唺夼䴾⑀⁂ㅄ", num); break; case ShapeType.Ellipse: str = BookmarkStart.b("䜰ल娴䄶堸场", num); break; case ShapeType.Line: str = BookmarkStart.b("䜰ल头帶圸帺", num); break; default: item = string.Format(BookmarkStart.b("ሰ氲䴴ܶस഼怾㕀㡂畄㩆", num), (int)A_0.ShapeType); flag = true; break; } if (A_1) { str = BookmarkStart.b("䜰ल圴嘶娸债娼䴾⹀㙂⭄⍆", num); } Class965 class3 = new Class965(A_0, A_2, A_3); Class82 class4 = new Class82(A_0, A_2, A_3); Class333 class2 = new Class333(A_0, A_2, A_3); Class845 class5 = new Class845(A_2); Class235 class6 = new Class235(A_2); Class234 class7 = new Class234(A_0, A_2); Class686 class8 = new Class686(A_2); Class332 class9 = new Class332(A_2); Class1039 class10 = new Class1039(A_3, A_2); Class788 class11 = new Class788(A_2); Class844 class12 = new Class844(A_2); string str3 = null; string str4 = null; Hashtable hashtable = new Hashtable(); Class43 shapePr = A_0.ShapePr; for (int i = 0; i < shapePr.Count; i++) { int num2 = shapePr.method_18(i); object obj2 = shapePr.method_19(i); int num8 = num2 & -64; if (num8 <= 0x180) { if (num8 <= 0xc0) { if (num8 != 0x40) { if (num8 != 0xc0) { goto Label_029D; } class8.method_0(num2, obj2); } else { class9.method_0(num2, obj2); } } else { switch (num8) { case 0x100: { class2.method_0(num2, obj2); continue; } case 320: { class7.method_0(num2, obj2); continue; } } if (num8 != 0x180) { goto Label_029D; } class3.method_0(num2, obj2); } continue; } switch (num8) { case 0x1c0: { if (num2 == 0x1fb) { class7.method_0(num2, obj2); } else { class4.method_0(num2, obj2); } continue; } case 0x200: { class5.method_0(num2, obj2); continue; } case 640: case 0x2c0: { class6.method_0(num2, obj2); continue; } case 0x340: { class11.method_0(num2, obj2); continue; } case 0x500: { class10.method_0(num2, obj2); continue; } } Label_029D: switch (num2) { case 0x85: { hashtable[num2] = Class1085.smethod_54((TextBoxWrapMode)obj2); continue; } case 0x87: { hashtable[num2] = Class1085.smethod_52((TextBoxAnchor)obj2); continue; } case 190: { if ((bool)obj2) { hashtable[num2] = BookmarkStart.b("䔰", num); } continue; } case 0x303: { hashtable[num2] = Class1085.smethod_58((ConnectorType)obj2); continue; } case 0x304: case 0x305: case 0x306: { hashtable[num2] = Class1085.smethod_6((BWMode)obj2); continue; } case 0x309: { str3 = Class1041.smethod_8((int)obj2); continue; } case 0x30a: { str4 = Class1041.smethod_8((int)obj2); continue; } case 0x33c: { class9.method_0(num2, obj2); continue; } case 900: case 0x385: case 0x386: case 0x387: { hashtable[num2] = Class969.smethod_42((int)obj2); continue; } case 0x38f: { HorizontalPosition position2 = (HorizontalPosition)obj2; if (position2 != HorizontalPosition.None) { hashtable[num2] = Class417.smethod_18(position2); } continue; } case 0x390: { HorizontalOrigin origin2 = (HorizontalOrigin)obj2; if (origin2 != HorizontalOrigin.Column) { hashtable[num2] = Class417.smethod_16(origin2); } continue; } case 0x391: { VerticalPosition position = (VerticalPosition)obj2; if (position != VerticalPosition.None) { hashtable[num2] = Class417.smethod_23(position); } continue; } case 0x392: { VerticalOrigin origin = (VerticalOrigin)obj2; if (origin != VerticalOrigin.Paragraph) { hashtable[num2] = Class417.smethod_14(origin); } continue; } case 0x394: { ShapeHorizontalAlignment alignment = (ShapeHorizontalAlignment)obj2; if (alignment != ShapeHorizontalAlignment.Left) { hashtable[num2] = Class1085.smethod_10(alignment); } continue; } case 0x781: case 0x782: case 0x783: case 0x784: case 0x785: case 0x786: case 0x787: case 0x788: case 0x7bc: case 0x7bd: case 0x7be: case 0x7bf: { class12.method_0(num2, obj2); continue; } case 0x7c0: case 0x7c1: case 0x7c2: case 0x7c3: { hashtable[num2] = Class1041.smethod_30((int)((float)obj2)); continue; } case 0x7c4: { hashtable[num2] = Class417.smethod_11((RelativeWidth)obj2); continue; } case 0x7c5: { hashtable[num2] = Class417.smethod_9((RelativeHeight)obj2); continue; } case 0x1000: { hashtable[num2] = Class1085.smethod_68((FlipOrientation)obj2); continue; } case 0x1006: case 0x1007: case 0x1008: { class2.method_0(num2, obj2); continue; } case 0x100e: { class4.method_0(num2, obj2); continue; } case 0x100f: { class3.method_0(num2, obj2); continue; } case 0x101d: case 0x101e: case 0x101f: case 0x1020: { hashtable[num2] = (int)obj2; continue; } } hashtable[num2] = obj2; } if ((!A_3.imethod_7() && (hashtable[0x3b8] != null)) && ((bool)hashtable[0x3b8])) { string str7; if (hashtable[0x39a] != null) { str7 = hashtable[0x39a] as string; } else { str7 = Class1085.smethod_2(hashtable[920]); } A_2.method_4(BookmarkStart.b("䘰ल䘴吶䬸刺䴼䬾@ⵂ♄⽆♈㥊", num)); A_2.method_11(BookmarkStart.b("䘰ल头嘶圸尺䠼帾♀♂", num), str7); A_2.method_11(BookmarkStart.b("䘰ल吴䔶常䠺", num), hashtable[0x397] as string); A_2.method_11(BookmarkStart.b("䘰ल䘴吶䬸刺䴼䬾ᕀ♂㵄㍆", num), hashtable[910] as string); } else { if ((!A_3.imethod_7() && flag) && !A_3.imethod_3().Contains(item)) { A_3.imethod_3().Add(item); string str6 = Class565.smethod_0(A_0.ShapeType); if (Class567.smethod_16(str6)) { A_2.method_9(BookmarkStart.b("㰰㤲", num)); A_2.method_9(str6); A_2.method_9(BookmarkStart.b("㰰㤲", num)); } } if (class2.method_2() != null) { class2.method_4(A_3.imethod_1(class2.method_2())); if (Class567.smethod_16(class2.method_5()) && (class2.method_5() != class2.method_3())) { class2.method_6(A_3.imethod_2(class2.method_5())); } } else if (Class567.smethod_16(class2.method_5())) { class2.method_4(A_3.imethod_2(class2.method_5())); } if (class3.method_3() != null) { class3.method_5(A_3.imethod_1(class3.method_3())); } if (class4.method_3() != null) { class4.method_5(A_3.imethod_1(class4.method_3())); } A_2.method_4(str); if (A_0.ShapeType == ShapeType.CustomShape) { string str8 = (string)hashtable[0x380]; if (Class567.smethod_16(str8)) { if (A_0 is DocOleObject) { string str10 = Class734.smethod_3(A_0); A_2.method_36(BookmarkStart.b("堰圲", num), str10); A_2.method_36(BookmarkStart.b("帰ल䘴䜶倸强", num), str10); } else { A_2.method_36(BookmarkStart.b("堰圲", num), str8); A_2.method_36(BookmarkStart.b("帰ल䘴䜶倸强", num), Class734.smethod_3(A_0)); } } else { A_2.method_36(BookmarkStart.b("堰圲", num), Class734.smethod_3(A_0)); } if (class4.method_6() == null) { class4.method_7(BookmarkStart.b("尰娲䄴制䬸", num)); } if (hashtable[0x101f] == null) { hashtable[0x101f] = A_0.CoordSizeWidth; } if (hashtable[0x1020] == null) { hashtable[0x1020] = A_0.CoordSizeHeight; } } else if (Class567.smethod_16((string)hashtable[0x380])) { if (A_0 is DocOleObject) { string str11 = Class734.smethod_3(A_0); A_2.method_36(BookmarkStart.b("堰圲", num), str11); A_2.method_36(BookmarkStart.b("帰ल䘴䜶倸强", num), str11); } else { A_2.method_36(BookmarkStart.b("堰圲", num), hashtable[0x380]); A_2.method_36(BookmarkStart.b("帰ल䘴䜶倸强", num), Class734.smethod_3(A_0)); } A_2.method_36(BookmarkStart.b("䔰䨲䔴制", num), item); } else { A_2.method_36(BookmarkStart.b("堰圲", num), Class734.smethod_3(A_0)); A_2.method_36(BookmarkStart.b("䔰䨲䔴制", num), item); A_2.method_36(BookmarkStart.b("吰圲尴䌶堸䠺", num), class10.method_2()); } if (A_0.IsInline && A_0.IsImage) { A_2.method_36(BookmarkStart.b("倰弲䄴", num), hashtable[0x381]); } else { A_2.method_36(BookmarkStart.b("夰䄲倴儶", num), hashtable[0x382]); A_2.method_36(BookmarkStart.b("䔰刲䜴倶尸伺", num), hashtable[0x1018]); A_2.method_36(BookmarkStart.b("䔰娲䄴嬶尸", num), hashtable[0x38d]); A_2.method_36(BookmarkStart.b("倰弲䄴", num), hashtable[0x381]); } if (!A_1) { Class558 class14 = new Class558(); if (!A_0.IsInline) { class14.method_2(BookmarkStart.b("䄰尲䘴帶䴸刺刼儾", num), BookmarkStart.b("倰儲䘴堶唸为䤼娾", num)); } string str5 = ""; if (A_0.IsTopLevel) { str5 = BookmarkStart.b("尰刲䜴倶倸唺ြ", num); } if (A_0.ShapeType != ShapeType.Line) { if (!A_0.IsInline) { if (A_0.IsTopLevel || (A_0.Left != 0.0)) { class14.method_2(str5 + BookmarkStart.b("崰嘲匴䌶", num), Class734.smethod_19(A_0.Left, A_0.IsTopLevel)); } if (A_0.IsTopLevel || (A_0.Top != 0.0)) { class14.method_2(str5 + BookmarkStart.b("䔰尲䔴", num), Class734.smethod_19(A_0.Top, A_0.IsTopLevel)); } } if ((A_0.ShapeType != ShapeType.Image) && (A_0.ShapeType != ShapeType.OleObject)) { class14.method_2(BookmarkStart.b("䘰娲儴䌶儸", num), Class734.smethod_19(A_0.Width, A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("夰嘲尴倶儸伺", num), Class734.smethod_19(A_0.Height, A_0.IsTopLevel)); } else { DocPicture imageData = (A_0 as ShapeObject).ImageData; float num6 = imageData.WidthScale / 100f; float num7 = imageData.HeightScale / 100f; class14.method_2(BookmarkStart.b("䘰娲儴䌶儸", num), Class734.smethod_19(A_0.Width * num6, A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("夰嘲尴倶儸伺", num), Class734.smethod_19(A_0.Height * num7, A_0.IsTopLevel)); } } object obj4 = hashtable[4]; if (obj4 != null) { class14.method_2(BookmarkStart.b("䌰尲䄴嘶䴸刺刼儾", num), Class734.smethod_14(Convert.ToInt32(obj4))); } if (Class567.smethod_16((string)hashtable[0x1000])) { class14.method_2(BookmarkStart.b("地弲尴䜶", num), (string)hashtable[0x1000]); } if (A_0.IsTopLevel && !A_0.IsInline) { if (A_0.BehindText && (A_0.ZOrder > 0L)) { class14.method_4(BookmarkStart.b("䬰Ḳ尴夶崸帺䔼", num), (double)A_0.ZOrderEx); } else { class14.method_4(BookmarkStart.b("䬰Ḳ尴夶崸帺䔼", num), (double)A_0.ZOrder); } } if (hashtable[0x3be] != null) { class14.method_2(BookmarkStart.b("䜰娲䘴帶嬸刺儼嘾㕀㩂", num), ((bool)hashtable[0x3be]) ? BookmarkStart.b("夰娲儴匶尸唺", num) : BookmarkStart.b("䜰娲䘴帶嬸场堼", num)); } if (hashtable[0x3b9] != null) { class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀♂⅄⹆㵈⹊⥌", num), ((bool)hashtable[0x3b9]) ? "" : BookmarkStart.b("地", num)); } class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀❂ⱄ㑆㵈⩊⍌ⱎ㑐繒㥔㉖㽘⽚", num), Class734.smethod_18(hashtable[900], A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀❂ⱄ㑆㵈⩊⍌ⱎ㑐繒⅔㡖⥘", num), Class734.smethod_18(hashtable[0x385], A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀❂ⱄ㑆㵈⩊⍌ⱎ㑐繒❔㹖㹘㍚⥜", num), Class734.smethod_18(hashtable[0x386], A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀❂ⱄ㑆㵈⩊⍌ⱎ㑐繒㝔㡖ⵘ⽚㉜㉞", num), Class734.smethod_18(hashtable[0x387], A_0.IsTopLevel)); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ䤸吺丼嘾㕀⩂⩄⥆摈⍊≌㵎㡐⥒㩔㥖ⵘ㩚ㅜ", num), (string)hashtable[0x38f]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ䤸吺丼嘾㕀⩂⩄⥆摈⍊≌㵎㡐⥒㩔㥖ⵘ㩚ㅜ牞፠٢।٦ᵨɪ᭬੮", num), (string)hashtable[0x390]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ䤸吺丼嘾㕀⩂⩄⥆摈㵊⡌㵎═㩒㙔㙖㕘", num), (string)hashtable[0x391]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ䤸吺丼嘾㕀⩂⩄⥆摈㵊⡌㵎═㩒㙔㙖㕘癚⽜㩞ൠɢᅤὨ", num), (string)hashtable[0x392]); if (A_3.imethod_7()) { class14.method_2(BookmarkStart.b("尰䀲娴ᨶ唸帺嬼䬾汀㍂⁄㕆⩈⹊⍌㭎", num), (string)hashtable[0x7c2]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ䴸吺䴼ሾㅀ♂㝄⑆ⱈ╊㥌", num), (string)hashtable[0x7c3]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸刺夼䬾⥀湂㕄≆㭈⡊⡌ⅎ═", num), (string)hashtable[0x7c0]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ儸帺吼堾⥀㝂桄㝆ⱈ㥊⹌⩎㽐❒", num), (string)hashtable[0x7c1]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸刺夼䬾⥀湂㝄≆╈⩊㥌♎❐㙒", num), (string)hashtable[0x7c4]); class14.method_2(BookmarkStart.b("尰䀲娴ᨶ儸帺吼堾⥀㝂桄㕆ⱈ❊ⱌ㭎㡐╒ご", num), (string)hashtable[0x7c5]); } class14.method_2(BookmarkStart.b("尰䀲娴ᨶ丸䤺尼伾汀あㅄ㹆╈⹊", num), (string)hashtable[0x85]); class14.method_2(BookmarkStart.b("䜰Ḳ䄴制䄸伺ြ帾⽀⁂ⵄ⡆㭈", num), (string)hashtable[0x87]); A_2.method_40(BookmarkStart.b("䈰䜲䰴嬶尸", num), Class734.smethod_2(class14)); } if (hashtable[780] != null) { A_2.method_40(BookmarkStart.b("吰䈲䀴嘶䴸刺刼儾㥀⹂⥄", num), Encoding.UTF8.GetString((byte[])hashtable[780])); } A_2.method_38(BookmarkStart.b("䘰ल䄴弶尸嘺堼簾⹀⽂⩄㕆", num), hashtable[0x1033]); A_2.method_38(BookmarkStart.b("䘰ल䄴弶尸嘺堼氾⥀≂⅄≆", num), hashtable[0x1034]); A_2.method_38(BookmarkStart.b("䘰ल䄴弶尸嘺堼款⡀ⵂㅄ", num), hashtable[0x1035]); A_2.method_38(BookmarkStart.b("帰ल圴䀶吸吺夼娾", num), hashtable[0x304]); A_2.method_38(BookmarkStart.b("帰ल圴䀶䤸为似娾", num), hashtable[0x305]); A_2.method_38(BookmarkStart.b("帰ल圴䀶圸吺似刾⁀⽂", num), hashtable[0x306]); if (!A_1) { A_2.method_36(BookmarkStart.b("帰ल娴嬶尸刺帼倾⽀", num), hashtable[0x33a]); } if (A_0.IsInline && A_0.IsOle) { A_2.method_18(BookmarkStart.b("帰ल娴嬶尸", num), ""); } if (A_0.IsInline) { A_2.method_40(BookmarkStart.b("帰ल圴堶䬸强堼䴾㕀ⱂ㕄⑆♈❊≌㵎", num), Class734.smethod_23((Class1031)hashtable[0x100a])); A_2.method_40(BookmarkStart.b("帰ल圴堶䬸强堼䴾ⵀ♂⍄㍆⩈⑊⅌⁎⍐", num), Class734.smethod_23((Class1031)hashtable[0x100b])); A_2.method_40(BookmarkStart.b("帰ल圴堶䬸强堼䴾⍀ⱂㅄ㍆♈♊⹌⁎㵐㱒❔", num), Class734.smethod_23((Class1031)hashtable[0x100c])); A_2.method_40(BookmarkStart.b("帰ल圴堶䬸强堼䴾㍀⩂≄⽆㵈⡊≌⍎㹐⅒", num), Class734.smethod_23((Class1031)hashtable[0x100d])); } switch (A_0.ShapeType) { case ShapeType.RoundRectangle: A_2.method_36(BookmarkStart.b("倰䄲嘴䐶倸䄺堼", num), Class734.smethod_10(smethod_7(A_0))); break; case ShapeType.Line: A_2.method_36(BookmarkStart.b("地䄲娴娶", num), Class734.smethod_17(A_0.Left, A_0.Top, A_0.IsTopLevel)); A_2.method_36(BookmarkStart.b("䔰尲", num), Class734.smethod_17(A_0.Left + A_0.Width, A_0.Top + A_0.Height, A_0.IsTopLevel)); break; } smethod_3(A_2, hashtable, 0x101d, 0x101e, BookmarkStart.b("到尲娴䔶崸吺似嘾♀⩂⭄", num)); smethod_3(A_2, hashtable, 0x101f, 0x1020, BookmarkStart.b("到尲娴䔶崸䠺吼䔾⑀", num)); A_2.method_35(BookmarkStart.b("帰ल吴嬶唸吺䨼嘾⽀⁂⁄⭆╈", num), hashtable[0x3b0], true); A_2.method_35(BookmarkStart.b("帰ल吴嬶唸吺䨼倾㝀♂㝄⭆⡈㭊", num), hashtable[950], true); if (A_0.ShapeType == ShapeType.CustomShape) { A_2.method_36(BookmarkStart.b("帰ल䘴䜶䴸", num), BookmarkStart.b("0̲Դ", num)); } if (str3 != null) { A_2.method_40(BookmarkStart.b("帰ल儴倶吸场尼䘾⹀㙂ㅄ", num), str3); } if (str4 != null) { A_2.method_40(BookmarkStart.b("帰ल儴倶吸唺刼嬾⑀⡂ⱄ⥆ⵈ", num), str4); } A_2.method_36(BookmarkStart.b("帰ल嘴堶圸唺堼尾㕀ⱂ㝄㍆え㭊⡌", num), hashtable[0x303]); class7.method_1(); class7.method_2(); A_2.method_36(BookmarkStart.b("帰ल䔴䔶尸崺堼䴾㍀♂⥄♆㵈≊㭌⩎", num), hashtable[0x33b]); A_2.method_36(BookmarkStart.b("帰ल圴䈶䴸伺刼儾", num), hashtable[0x3bc]); A_2.method_36(BookmarkStart.b("帰ल崴䔶䤸堺䤼", num), hashtable[0x393]); A_2.method_36(BookmarkStart.b("帰ल崴䔶堸场吼堾⽀", num), hashtable[0x394]); A_2.method_36(BookmarkStart.b("帰ल崴䔶䨸伺夼", num), hashtable[0x3b2]); A_2.method_36(BookmarkStart.b("帰ल崴䔶圸吺丼圾⁀❂⁄", num), hashtable[0x3b3]); A_2.method_36(BookmarkStart.b("帰ल崴䔶", num), hashtable[0x3b4]); A_2.method_36(BookmarkStart.b("帰ल圴䈶唸场堼䬾", num), hashtable[0x3b1]); smethod_2(A_2, (Class891[])hashtable[0x383]); class3.method_1(); if (!A_1) { class4.method_1(); } class3.method_2(); class4.method_2(); class2.method_1(); class5.method_1(); class6.method_1(); if (str == BookmarkStart.b("䜰ल䘴弶堸䬺堼", num)) { class7.method_4(); class7.method_5(); class8.method_1(); class7.method_10(); } if (!A_1) { class9.method_1(); } if (A_0.InkData != null) { A_2.method_4(BookmarkStart.b("帰ल尴夶券", num)); A_2.method_44(BookmarkStart.b("堰", num), A_0.InkData); A_2.method_36(BookmarkStart.b("倰崲嬴堶䴸娺䤼嘾⹀ⵂ", num), A_0.InkAnnotation); A_2.method_5(); } class12.method_1(); class10.method_1(); class11.method_1(); smethod_6(BookmarkStart.b("䘰ȲԴശ嬸吺似嬾⑀ㅂㅄ⡆㥈", num), A_0.ShapePr[0x100a], A_2); smethod_6(BookmarkStart.b("䘰ȲԴശ嬸吺似嬾⑀ㅂ⥄≆⽈㽊", num), A_0.ShapePr[0x100b], A_2); smethod_6(BookmarkStart.b("䘰ȲԴശ嬸吺似嬾⑀ㅂ❄⡆㵈㽊≌≎", num), A_0.ShapePr[0x100c], A_2); smethod_6(BookmarkStart.b("䘰ȲԴശ嬸吺似嬾⑀ㅂ㝄⹆⹈⍊㥌", num), A_0.ShapePr[0x100d], A_2); bool flag2 = A_3.imethod_4().class335_0.Interface34.imethod_3(A_0.Id); if (!A_0.IsGroup && ((A_0.HasChildElements || flag2) || (A_0.ShapeType == ShapeType.TextBox))) { A_2.method_4(BookmarkStart.b("䜰ल䄴制䄸伺弼倾㥀", num)); Class558 class15 = new Class558(); if (hashtable.Contains(0x88)) { LayoutFlow flow = (LayoutFlow)hashtable[0x88]; if (flow == LayoutFlow.BottomToTop) { class15.method_2(BookmarkStart.b("崰刲䰴堶䰸伺ြ夾ⵀⱂ㉄", num), BookmarkStart.b("䜰嘲䜴䌶倸堺尼匾", num)); class15.method_2(BookmarkStart.b("尰䀲娴ᨶ唸娺䐼倾㑀㝂桄ⅆ╈⑊㩌扎ぐ㽒⅔", num), BookmarkStart.b("匰尲䄴䌶嘸嘺ြ䬾⹀湂ㅄ⡆㥈", num)); } else { class15.method_2(BookmarkStart.b("崰刲䰴堶䰸伺ြ夾ⵀⱂ㉄", num), Class1085.smethod_46(flow)); } } int textboxNextShapeId = A_0.TextboxNextShapeId; if ((textboxNextShapeId != 0) && A_3.imethod_4().hashtable_0.ContainsKey(textboxNextShapeId)) { ShapeObject obj3 = (ShapeObject)A_3.imethod_4().hashtable_0[textboxNextShapeId]; string str9 = Class567.smethod_16(obj3.Name) ? string.Format(BookmarkStart.b("ሰ䠲Դ䨶", num), obj3.Name) : string.Format(BookmarkStart.b("ሰ氲䴴ܶस഼怾㉀㡂畄㩆", num), textboxNextShapeId); class15.method_2(BookmarkStart.b("尰䀲娴ᨶ圸帺䔼䬾汀㝂⁄㽆㵈⥊≌㝎", num), str9); } class15.method_2(BookmarkStart.b("尰䀲娴ᨶ弸刺䤼ሾ㉀⭂⑄㝆ⱈ晊㥌⁎籐❒ご⽖ⵘ", num), (string)hashtable[190]); A_2.method_36(BookmarkStart.b("䈰䜲䰴嬶尸", num), Class734.smethod_2(class15)); A_2.method_36(BookmarkStart.b("堰崲䘴制䴸", num), Class734.smethod_8(hashtable)); A_2.method_4(BookmarkStart.b("䘰ल䄴伶嬸䌺縼倾⽀㝂⁄⥆㵈", num)); if (!A_0.HasChildElements && flag2) { A_2.method_6(BookmarkStart.b("䘰ल䄴伶嬸䌺縼倾⽀㝂⁄⥆㵈", num)); A_2.method_6(BookmarkStart.b("䜰ल䄴制䄸伺弼倾㥀", num)); } } } }
private void method_8(object _) { Class110 instance = Class110.Instance; Class114 createdFileArchive = instance.CreatedFileArchive; Class112 applicationSettings = instance.ApplicationSettings; List <Class524> list = new List <Class524>(); List <string> list2 = new List <string>(); List <string> list3 = new List <string>(); list2.Add(UninstallationCleanUp.string_6); list2.Add(UninstallationCleanUp.string_5); list2.Add(UninstallationCleanUp.string_4); list2.Add(UninstallationCleanUp.string_3); list2.Add(UninstallationCleanUp.string_2); list3.Add(UninstallationCleanUp.string_1); list3.Add(UninstallationCleanUp.string_0); foreach (Class524 @class in createdFileArchive.Files) { this.method_3(list, @class.string_1); } foreach (Class524 class2 in createdFileArchive.Files) { this.method_2(list, Class291.string_4, Path.GetDirectoryName(class2.string_1)); this.method_2(list, Class291.string_5, Path.GetDirectoryName(class2.string_1)); } createdFileArchive.Files.Clear(); foreach (Class524 class3 in instance.RaceTrackFileIndex.Files) { this.method_3(list, class3.string_1); } instance.RaceTrackFileIndex.Files.Clear(); foreach (Class524 class4 in instance.JoeFishSettings.JoeFishCaptureSettings.Files) { this.method_3(list, class4.string_1); } instance.JoeFishSettings.JoeFishCaptureSettings.Files.Clear(); foreach (Class524 class5 in instance.GardenerFloraSettings.GardenerFloraCaptureFiles.Files) { this.method_3(list, class5.string_1); } instance.GardenerFloraSettings.GardenerFloraCaptureFiles.Files.Clear(); foreach (Class524 class6 in instance.GardenerFloraSettings.GardenerFloraFiles.Files) { this.method_3(list, class6.string_1); } instance.GardenerFloraSettings.GardenerFloraFiles.Files.Clear(); foreach (Class102 class7 in instance.ConnectSettings.ContentPacks) { this.method_3(list, class7.FileName); } instance.ConnectSettings.ContentPacks.Clear(); if (Class336.smethod_0(Class291.string_2, applicationSettings.ScreenshotSaveDirectory) && Directory.Exists(Class291.string_2)) { MethodInvoker methodInvoker = null; UninstallationCleanUp.Class232 class8 = new UninstallationCleanUp.Class232(); class8.uninstallationCleanUp_0 = this; class8.string_0 = Class234.smethod_1(Class291.string_2, UninstallationCleanUp.string_21, UninstallationCleanUp.string_22); if (class8.string_0.Length > 0) { if (methodInvoker == null) { methodInvoker = new MethodInvoker(class8.method_0); } this.smethod_6(methodInvoker); } } foreach (string path in list2) { this.method_3(list, Path.Combine(Class291.string_4, path)); this.method_3(list, Path.Combine(Class291.string_5, path)); } foreach (string path2 in list3) { this.method_4(list, Path.Combine(Class291.string_4, path2)); this.method_4(list, Path.Combine(Class291.string_5, path2)); } if (Directory.Exists(Class291.string_4)) { string[] array = Class234.smethod_1(Class291.string_4, UninstallationCleanUp.string_19, UninstallationCleanUp.string_20); foreach (string file in array) { this.method_3(list, file); } } if (Directory.Exists(Class291.string_5)) { string[] array3 = Class234.smethod_1(Class291.string_5, UninstallationCleanUp.string_19, UninstallationCleanUp.string_20); foreach (string file2 in array3) { this.method_3(list, file2); } } this.method_3(list, Class291.string_23); this.method_3(list, Class291.string_16); this.method_3(list, Class291.string_14); this.method_3(list, Class291.string_17); this.method_3(list, Class291.string_15); this.method_6(list, Path.Combine(Class291.string_4, UninstallationCleanUp.string_18)); this.method_6(list, Path.Combine(Class291.string_5, UninstallationCleanUp.string_18)); this.method_4(list, Class291.string_2); this.method_4(list, Class291.string_6); this.method_4(list, Class291.string_9); this.method_4(list, Class291.string_10); this.method_4(list, Class291.string_8); this.method_4(list, Class291.string_11); this.method_4(list, Class291.string_7); this.method_4(list, Class291.string_3); this.method_4(list, Class291.string_5); this.method_4(list, Class291.string_4); this.method_4(list, Class291.string_13); this.method_4(list, Class291.string_1); if (Directory.Exists(Class291.string_0) && !Class234.smethod_2(Class291.string_0)) { this.method_5(list, Class291.string_0); } if (list.Count > 0) { string text = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString() + UninstallationCleanUp.string_17); bool flag; try { using (Stream stream = File.Open(text, FileMode.OpenOrCreate, FileAccess.Write, FileShare.None)) { using (StreamWriter streamWriter = new StreamWriter(stream, Encoding.Unicode)) { streamWriter.WriteLine(UninstallationCleanUp.string_16); streamWriter.WriteLine(string.Empty); foreach (Class524 class9 in list) { streamWriter.WriteLine(class9.string_1); } streamWriter.WriteLine(string.Empty); streamWriter.WriteLine(UninstallationCleanUp.string_15); streamWriter.WriteLine(UninstallationCleanUp.string_14); } } flag = true; } catch { flag = false; } if (flag) { if (UninstallationCleanUp.func_0 == null) { UninstallationCleanUp.func_0 = new Func <bool>(UninstallationCleanUp.smethod_2); } if (!this.smethod_5(UninstallationCleanUp.func_0)) { goto IL_768; } try { ProcessStartInfo processStartInfo = new ProcessStartInfo(); processStartInfo.FileName = text; processStartInfo.UseShellExecute = true; processStartInfo.ErrorDialog = true; using (Process process = new Process()) { process.StartInfo = processStartInfo; process.Start(); } goto IL_768; } catch { DialogBox.smethod_3(string.Format(UninstallationCleanUp.string_11, text), UninstallationCleanUp.string_12); goto IL_768; } } if (UninstallationCleanUp.methodInvoker_0 == null) { UninstallationCleanUp.methodInvoker_0 = new MethodInvoker(UninstallationCleanUp.smethod_3); } this.smethod_6(UninstallationCleanUp.methodInvoker_0); } IL_768: this.smethod_4(new MethodInvoker(this.method_9)); }
public override void Visit(Class234 c) { }
public abstract void Visit(Class234 c);
private static bool smethod_12(string file) { return(Class234.smethod_4(file)); }
// Token: 0x060028D0 RID: 10448 RVA: 0x0009A000 File Offset: 0x00098200 private static bool smethod_10(Process p, out string logFile) { Class335.smethod_2(Class142.string_7, true); List <FileSystemInfo> list = Class471.smethod_2(p.Id); if (list != null) { using (List <FileSystemInfo> .Enumerator enumerator = list.GetEnumerator()) { while (enumerator.MoveNext()) { FileSystemInfo fileSystemInfo = enumerator.Current; if (fileSystemInfo is FileInfo && string.Equals(fileSystemInfo.Extension, Class142.string_4, StringComparison.OrdinalIgnoreCase) && fileSystemInfo.Name.StartsWith("toontown", StringComparison.OrdinalIgnoreCase) && fileSystemInfo.Exists) { logFile = fileSystemInfo.FullName; Class335.smethod_3(Class142.string_6, new object[] { logFile }); return(true); } } goto IL_B4; } bool result; return(result); } Class335.smethod_2(Class142.string_5, true); IL_B4: string text = null; if ((p.StartInfo == null || string.IsNullOrEmpty(text = p.StartInfo.WorkingDirectory)) && p.MainModule != null) { text = Path.GetDirectoryName(p.MainModule.FileName); } if (!string.IsNullOrEmpty(text) && Directory.Exists(text)) { Class142.Class442 @class = new Class142.Class442(); Class335.smethod_3(Class142.string_2, new object[] { text }); @class.dateTime_0 = p.StartTime; @class.hashSet_0 = Class142.smethod_3(); IEnumerable <string> source = Class234.smethod_1(text, Class142.string_3, Class142.string_4).Where(new Func <string, bool>(@class.method_0)); if (Class142.func_0 == null) { Class142.func_0 = new Func <string, bool>(Class142.smethod_12); } string[] array = source.Where(Class142.func_0).Where(new Func <string, bool>(@class.method_1)).ToArray <string>(); if (array.Length == 1) { logFile = array[0]; Class335.smethod_3(Class142.string_1, new object[] { logFile }); return(true); } } Class335.smethod_2(Class142.string_0, true); logFile = null; return(false); }
// Token: 0x060028F6 RID: 10486 RVA: 0x0009AB60 File Offset: 0x00098D60 private Class143.Class144 method_6(string filePath) { string fileName = Path.GetFileName(filePath); if (this.dictionary_0.ContainsKey(fileName)) { long num; DateTime d; Class234.smethod_13(filePath, out num, out d); Class143.Class144 @class = this.dictionary_0[fileName]; if (@class.long_0 == num && @class.class140_0.DateCreated == d) { return(@class); } @class.Dispose(); this.dictionary_0.Remove(fileName); this.int_0++; } Class143.Class144 class2 = null; Class143.Class144 result; try { class2 = new Class143.Class144(); class2.struct43_0 = Class513.smethod_0(filePath); DateTime dateCreated; Class234.smethod_13(filePath, out class2.long_0, out dateCreated); class2.class140_0 = new Class140(fileName, filePath, dateCreated); using (MemoryStream memoryStream = new MemoryStream()) { using (BinaryWriter binaryWriter = new BinaryWriter(memoryStream)) { using (Bitmap bitmap = (Bitmap)Image.FromFile(filePath)) { binaryWriter.Write(fileName); binaryWriter.smethod_25(class2.struct43_0); binaryWriter.Write(class2.long_0); binaryWriter.Write(class2.class140_0.DateCreated.ToBinary()); using (MemoryStream memoryStream2 = new MemoryStream()) { Class157.smethod_9(bitmap, memoryStream2, 100, this.ThumbnailSize.Width, this.ThumbnailSize.Height); binaryWriter.Write(memoryStream2.Length); class2.long_1 = memoryStream2.Length; memoryStream2.Seek(0L, SeekOrigin.Begin); memoryStream2.CopyTo(memoryStream); } this.stream_0.Seek(0L, SeekOrigin.End); memoryStream.Seek(0L, SeekOrigin.Begin); memoryStream.CopyTo(this.stream_0); } } } this.stream_0.Seek(-class2.long_1, SeekOrigin.Current); class2.stream3_0 = new Stream3(this.stream_0, this.stream_0.Position, this.stream_0.Position + class2.long_1); this.dictionary_0.Add(fileName, class2); this.stream_0.Seek((long)(Class143.byte_0.Length + 4), SeekOrigin.Begin); using (Stream3 stream = new Stream3(this.stream_0)) { using (BinaryWriter binaryWriter2 = new BinaryWriter(stream)) { binaryWriter2.Write(this.dictionary_0.Count); } } result = class2; } catch (Exception ex) { if (class2 != null) { class2.Dispose(); } ex.smethod_1(new object[] { filePath }); result = null; } return(result); }