internal static void smethod_0(MemoryStream A_0, int A_1, MemoryStream A_2, out byte[] A_3) { Stream12 stream = new Stream12(A_0); Stream12 stream2 = stream.method_11(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", 0x10)); string str = BookmarkStart.b("椵", 0x10) + A_1.ToString(); Stream12 stream3 = stream2.method_11(str); Stream12 stream4 = new Stream12(A_2, STGM.STGM_SHARE_EXCLUSIVE | STGM.STGM_READWRITE); Stream12 stream5 = stream4.method_12(BookmarkStart.b("礵娷倹夻崽㐿ቁ⭃⥅⑇", 0x10), STGM.STGM_SHARE_EXCLUSIVE | STGM.STGM_READWRITE); if (!stream5.method_20(str)) { Stream12.smethod_0(stream3, stream5); } stream.Dispose(); stream2.Dispose(); stream3.Dispose(); stream = null; stream2 = null; stream3 = null; A_2 = new MemoryStream(); stream4.method_17(A_2); A_3 = A_2.GetBuffer(); stream5.Dispose(); stream4.Dispose(); stream4 = null; stream5 = null; }
public static void smethod_0(Stream12 A_0, Stream12 A_1) { int num = 7; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("帬䀮䐰䄲嘴制", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䤬䨮䈰䜲尴夶堸伺吼倾⽀", num)); } string str = A_0.method_6(); if (str == null) { throw new ArgumentException(BookmarkStart.b("縬䀮䐰䄲嘴制ᤸ强刼娾㉀捂⭄⡆㵈歊⹌⁎㽐❒㑔㹖㝘筚㉜⽞Ѡൢdͦ䥨ᡪᡬ൮屰rŴᡶ᩺᩼", num)); } using (Stream12 stream = !A_1.method_20(str) ? A_1.method_13(str) : A_1.method_11(str)) { A_0.method_3().imethod_4(0, IntPtr.Zero, IntPtr.Zero, stream.method_3()); A_1.method_3().imethod_6(0); } }