private void method_4(int A_0, Class939 A_1) { int num = 5; if (A_0 < 0) { throw new ArgumentOutOfRangeException(BookmarkStart.b("堪䠬䰮䔰尲䜴琶嘸为匼䬾", num)); } if (A_0 != 0) { if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䴪䰬嬮", num)); } int num2 = 0; for (int i = this.list_1.Count - 1; num2 < A_0; i--) { int num4 = this.list_1[i]; A_1.method_5(num4); num2++; } this.list_1.RemoveRange(this.list_1.Count - A_0, A_0); throw new NotImplementedException(); } }
private int method_16(int A_0, int A_1, int A_2, Class939 A_3) { int num = -1; if (A_1 == A_2) { return(A_0); } if (A_1 < A_2) { for (int j = (A_0 >= 0) ? A_3.method_2(A_0) : A_0; j >= 0; j = A_3.method_2(A_0)) { A_0 = j; } int num3 = A_3.method_4(A_0, A_2 - A_1); if (A_0 < 0) { num = num3; } return(num); } for (int i = 0; i < (A_2 - 1); i++) { A_0 = A_3.method_2(A_0); } A_3.method_3(A_0); return(num); }
private void method_14(Stream A_0, int A_1, Stream A_2, Class939 A_3) { int num3; int num = 3; if (A_2 == null) { throw new ArgumentNullException(BookmarkStart.b("娨弪弬䨮倰帲", num)); } long num2 = A_3.method_16(A_1); int count = A_3.method_0(); byte[] buffer = new byte[count]; long position = A_2.Position; A_2.Position = 0L; while ((num3 = A_2.Read(buffer, 0, count)) > 0) { A_0.Position = num2; A_0.Write(buffer, 0, num3); A_1 = A_3.method_2(A_1); if (A_1 < 0) { break; } num2 = A_3.method_16(A_1); } A_2.Position = position; }
internal void method_2(int A_0, Class939 A_1) { int num = A_0 - 0x6d; if (num > 0) { int num2 = (int)Math.Ceiling((double)(((double)(num * 4)) / ((double)(A_1.method_0() - 4)))); this.method_3(num2, A_1); } }
private void method_15(Class297 A_0, int A_1, int A_2, Class939 A_3) { if (A_1 != A_2) { int num = (A_0.int_9 >= 0) ? A_0.int_9 : A_0.method_20(); int num2 = this.method_16(num, A_1, A_2, A_3); if (num < 0) { A_0.method_21(num2); } } }
void IDisposable.Dispose() { if (this.class1069_0 != null) { this.class1069_0.System.IDisposable.Dispose(); this.class1069_0 = null; this.stream_0.Dispose(); this.stream_0 = null; this.class938_0 = null; this.class939_0 = null; this.class1003_0 = null; } }
private void method_8() { this.class1003_0 = new Class1003(); this.class1069_0 = new Class1069(this, BookmarkStart.b("紮帰尲䄴᜶簸唺䤼䴾㡀", 9), 0); this.stream_0.SetLength(0x200L); this.class938_0 = new Class938(); this.class357_0 = new Class357(); Class297 class2 = this.class1069_0.Interface59.imethod_0(); class2.method_3(Class297.EntryType.Root); this.class1003_0.method_2(class2); this.class939_0 = new Class939(this.stream_0, this.class938_0.method_9(), 0x200); }
private void method_3(int A_0, Class939 A_1) { int count = this.list_1.Count; if (count != A_0) { if (count > A_0) { this.method_4(count - A_0, A_1); } else { this.method_5(A_0 - count, A_1); } } }
private void method_5(int A_0, Class939 A_1) { int num = 7; if (A_0 < 0) { throw new ArgumentOutOfRangeException(BookmarkStart.b("帬䨮到䜲娴䔶稸吺䠼儾㕀", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䬬丮䔰", num)); } for (int i = 0; i < A_0; i++) { int item = A_1.method_13(-4); this.list_1.Add(item); } }
private void method_13(Class297 A_0, Stream A_1) { if (this.stream_1 == null) { this.stream_1 = new MemoryStream(); } if (this.class939_1 == null) { this.class939_1 = new Class939(this.stream_1, this.class938_0.method_10(), 0); } this.class938_0.method_10(); int num = this.class939_1.method_0(); long num2 = A_0.method_22(); long length = A_1.Length; int num4 = (int)Math.Ceiling((double)(((double)num2) / ((double)num))); int num5 = (int)Math.Ceiling((double)(((double)length) / ((double)num))); this.method_15(A_0, num4, num5, this.class939_1); this.method_14(this.stream_1, A_0.method_20(), A_1, this.class939_1); }
public void method_7(Stream A_0) { int num = 0x12; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䬷丹主嬽ℿ⽁", num)); } long position = A_0.Position; int capacity = (int)(A_0.Length - position); MemoryStream stream = new MemoryStream(capacity); stream.SetLength((long)capacity); A_0.Read(stream.GetBuffer(), 0, capacity); stream.Position = 0L; this.stream_0 = stream; this.class938_0 = new Class938(this.stream_0); this.class357_0 = new Class357(this.stream_0, this.class938_0); this.class939_0 = new Class939(this, this.stream_0, this.class357_0, this.class938_0); byte[] buffer = this.class939_0.method_1(this.stream_0, this.class938_0.method_16(), this); this.class1003_0 = new Class1003(buffer); Class297 class2 = this.class1003_0.method_0()[0]; this.class1069_0 = new Class1069(this, class2); int num2 = class2.method_20(); if (num2 >= 0) { this.stream_1 = new MemoryStream(this.class939_0.method_1(this.stream_0, num2, this)); if (this.class938_0.method_20() >= 0) { this.stream_2 = new MemoryStream(this.class939_0.method_1(this.stream_0, this.class938_0.method_20(), this)); this.class939_1 = new Class939(this.stream_1, this.class938_0.method_10(), this.stream_2, 0); } this.class939_0.method_3(num2); if (this.class938_0.method_20() >= 0) { this.class939_0.method_3(this.class938_0.method_20()); } } }