private void method_18(Class615 A_0) { if (A_0.method_15()) { Interface1 interface3 = A_0.method_0(); Class65 class4 = null; while (interface3 != null) { if (!(interface3 is Class65)) { break; } class4 = interface3 as Class65; interface3 = class4.method_0(); } if (((class4 != null) && (interface3 is DocumentObject)) && interface3.imethod_0().imethod_14()) { List <Interface1> list = new List <Interface1>(); int num2 = class4.method_3(); Interface1 item = interface3; for (Interface1 interface5 = (item as DocumentObject).PreviousSibling as Interface1; interface5 != null; interface5 = (interface5 as DocumentObject).PreviousSibling as Interface1) { if (!interface5.imethod_0().imethod_20()) { break; } num2--; item = interface5; list.Add(item); } if (num2 < class4.method_3()) { class4.method_4(num2); class4.method_1(item); Class375 class6 = null; Class375 class5 = A_0.method_5(); while (true) { if ((class5 == null) || (class5.method_74().Count <= 0)) { break; } if (((class5.method_73() is Paragraph) && (class5.method_74().Count > 0)) && (class5.method_74().method_4(0).method_73() is Paragraph)) { class6 = class5; break; } class5 = class5.method_74().method_4(class5.method_74().Count - 1); } if (class6 != null) { for (int i = class6.method_74().Count - 1; i >= 0; i--) { if (list.Count <= 0) { break; } Class375 class2 = class6.method_74().method_4(i); for (int j = class2.method_74().Count - 1; j >= 0; j--) { Class375 class3 = class2.method_74().method_4(j); Interface1 interface2 = class3.method_73(); interface2 = (interface2 is Class7) ? ((interface2 as Class7).TextBox as Interface1) : interface2; if (list.Contains(interface2)) { class2.method_72().method_45(class3); class2.method_72().method_42(class3); class2.method_74().method_11(class3); list.Remove(interface2); } if (list.Count <= 0) { break; } } } } } list = null; } } }