private void method_2(Process process_1, byte[] byte_0, string string_1) { IEnumerator<KeyValuePair<string,GClass31.GClass32>> ienumerator; Dictionary<string,GClass31.GClass32> dictionary = GClass31.smethod_0((int)process_1.Handle); IEnumerable<KeyValuePair<string,GClass31.GClass32>> ienumerable = Enumerable.Where<IEnumerable<T>>(dictionary, new Func<KeyValuePair<string,GClass31.GClass32>,bool>(null, QuestForm.smethod_0)); try { ienumerator = ienumerable.GetEnumerator(); while (ienumerator.MoveNext()) { KeyValuePair<string,GClass31.GClass32> keyValuePair = ienumerator.get_Current(); GClass34 gclass34 = new GClass34(); gclass34.method_7(process_1); gclass34.method_9((IntPtr)keyValuePair.get_Value().int_0); gclass34.method_11(keyValuePair.get_Value().int_1); byte[] bArr = byte_0; if ((keyValuePair.get_Value().int_1 <= 17780736) & (keyValuePair.get_Value().int_1 > 16777216)) { gclass34.method_11(80535); long l = (long)gclass34.method_3(bArr, string_1, checked((int)bArr.Length)); if (l != 0L) { QuestForm.GClass37.smethod_1(process_1); QuestForm.GClass37.smethod_3((IntPtr)keyValuePair.get_Value().int_0); QuestForm.GClass37.smethod_5(keyValuePair.get_Value().int_1); vmethod_10().Text = "Quest Found"; vmethod_8().RecalcLayout(); } } } } finally { if (ienumerator != null) ienumerator.Dispose(); } }
private void method_5() { List<byte[]>.Enumerator enumerator; GClass34 gclass34 = new GClass34(); gclass34.method_7(QuestForm.GClass37.smethod_0()); gclass34.method_9(QuestForm.GClass37.smethod_2()); gclass34.method_11(160000); GClass34.GClass35 gclass35 = new GClass34.GClass35(); try { enumerator = list_2.GetEnumerator(); while (enumerator.MoveNext()) { byte[] bArr1 = enumerator.get_Current(); gclass35.method_1(bArr1); gclass34.hashSet_0.Add(gclass35); } } finally { enumerator.Dispose(); } long l = (long)gclass34.method_4(list_2, "xxxx", 4); if (l != 0L) { byte[] bArr2 = gclass22_0.method_4(checked(l - 8L), (long)process_0.Id, 56); long_0 = checked(l - 8L); method_6(bArr2); vmethod_26().Enabled = true; } else { method_8("Quest not found", vmethod_22()); } }