// Token: 0x060001C5 RID: 453 RVA: 0x010333EC File Offset: 0x010315EC public void method_10(int int_21) { RS6Menu.Boolean_0 = false; RS6Menu.int_8 = Settings.Default.rapidFireValue; RS6Menu.int_9 = int_21; RS6Menu.int_10 = int_21 - 1; RS6Menu.bool_2 = true; bool flag = false; List <VirtualKeyCode> list = new List <VirtualKeyCode> { Settings.Default.TerminateKey, Settings.Default.suspendKey, Settings.Default.NextWeaponKey, Settings.Default.CrosshairKey, Settings.Default.akKey, Settings.Default.lrKey, Settings.Default.thompsonKey, Settings.Default.m249Key, Settings.Default.p250Key, Settings.Default.semiKey, Settings.Default.barettaKey, Settings.Default.pythonKey, Settings.Default.revolverKey, Settings.Default.nailgunKey }; foreach (VirtualKeyCode virtualKeyCode in list) { RS6Menu.inputManager_0.UnregisterEvent(virtualKeyCode, new InputManager.KeyStateChangedEventHandler(this.method_9)); } foreach (VirtualKeyCode virtualKeyCode2 in list) { RS6Menu.inputManager_0.RegisterEvent(virtualKeyCode2, new InputManager.KeyStateChangedEventHandler(this.method_9)); } if (Settings.Default.Modifier == "") { RS6Menu.Boolean_0 = true; } else { RS6Menu.inputManager_0.OnKeyboardEvent += new LowLevelKeyboardHook.KeyboardEventHandler(RS6Menu.Class5.< > 9.method_0); } new Random(); int num = 142; RS6Menu.smethod_1(); if (RS6Menu.int_9 == 999) { foreach (VirtualKeyCode virtualKeyCode3 in list) { RS6Menu.inputManager_0.UnregisterEvent(virtualKeyCode3, new InputManager.KeyStateChangedEventHandler(this.method_9)); } this.bool_0 = false; if (num != RS6Menu.int_12) { num = RS6Menu.int_12; } RS6Menu.smethod_6(num, 0, 0); Thread.Sleep(5); return; } while (this.bool_0) { if (RS6Menu.int_9 != RS6Menu.int_10) { goto IL_284; } if (RS6Menu.int_9 == 999) { goto IL_284; } IL_2A4: new Random(DateTime.Now.Millisecond).Next(4, 5); if (Settings.Default.rapidKey != Keys.LButton && RS6Menu.bool_2) { RS6Menu.smethod_8(false); } if (Class6.smethod_2(Keys.LButton) && !flag && RS6Menu.bool_2) { if (RS6Menu.string_1.StartsWith("AK")) { if (num != RS6Menu.int_11) { num = RS6Menu.int_11; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchAK) { RS6Menu.smethod_5(num, Settings.Default.aksensX, Settings.Default.aksensY, Settings.Default.akfire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.aksensY); } } flag = true; } else if (!RS6Menu.string_1.StartsWith("LR300")) { if (!RS6Menu.string_1.StartsWith("THOMSON")) { if (!RS6Menu.string_1.StartsWith("M249")) { if (!RS6Menu.string_1.StartsWith("P250")) { if (RS6Menu.string_1.StartsWith("SEMIRIFLE")) { if (num != RS6Menu.int_19) { num = RS6Menu.int_19; } while (Class6.smethod_2(Keys.LButton)) { if (!Settings.Default.rageSwitchSEMI) { RS6Menu.smethod_6(num, 0, Settings.Default.semisensY); } else { RS6Menu.smethod_5(num, Settings.Default.semisensX, Settings.Default.semisensY, Settings.Default.semifire); } } } else if (!RS6Menu.string_1.StartsWith("Baretta")) { if (!RS6Menu.string_1.StartsWith("Python")) { if (!RS6Menu.string_1.StartsWith("Revolver")) { if (RS6Menu.string_1.StartsWith("Nailgun")) { if (num != RS6Menu.int_15) { num = RS6Menu.int_15; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchNAILGUN) { RS6Menu.smethod_5(num, Settings.Default.nailgunsensX, Settings.Default.nailgunsensY, Settings.Default.nailgunfire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.nailgunsensY); } } } else { Application.Exit(); } } else { if (num != RS6Menu.int_18) { num = RS6Menu.int_18; } while (Class6.smethod_2(Keys.LButton)) { if (!Settings.Default.rageSwitchREVOLVER) { RS6Menu.smethod_6(num, 0, Settings.Default.revolversensY); } else { RS6Menu.smethod_5(num, Settings.Default.revolversensX, Settings.Default.revolversensY, Settings.Default.revolverfire); } } } } else { if (num != RS6Menu.int_17) { num = RS6Menu.int_17; } while (Class6.smethod_2(Keys.LButton)) { if (!Settings.Default.rageSwitchPYTHON) { RS6Menu.smethod_6(num, 0, Settings.Default.pythonsensY); } else { RS6Menu.smethod_5(num, Settings.Default.pythonsensX, Settings.Default.pythonsensY, Settings.Default.pythonfire); } } } } else { if (num != RS6Menu.int_13) { num = RS6Menu.int_13; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchBARETTA) { RS6Menu.smethod_5(num, Settings.Default.barettasensX, Settings.Default.barettasensY, Settings.Default.barettafire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.barettasensY); } } } } else { if (num != RS6Menu.int_16) { num = RS6Menu.int_16; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchP250) { RS6Menu.smethod_5(num, Settings.Default.p250sensX, Settings.Default.p250sensY, Settings.Default.p250fire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.p250sensY); } } } } else { if (num != RS6Menu.int_14) { num = RS6Menu.int_14; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchM249) { RS6Menu.smethod_5(num, Settings.Default.m249sensX, Settings.Default.m249sensY, Settings.Default.m249fire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.m249sensY); } } } } else { if (num != RS6Menu.int_20) { num = RS6Menu.int_20; } while (Class6.smethod_2(Keys.LButton)) { if (Settings.Default.rageSwitchTHOMPSON) { RS6Menu.smethod_5(num, Settings.Default.thompsonsensX, Settings.Default.thompsonsensY, Settings.Default.thompsonfire); } else { RS6Menu.smethod_6(num, 0, Settings.Default.thompsonsensY); } } } } else { if (num != RS6Menu.int_12) { num = RS6Menu.int_12; } while (Class6.smethod_2(Keys.LButton)) { if (!Settings.Default.rageSwitchLR) { RS6Menu.smethod_6(num, 0, Settings.Default.lrsensY); } else { RS6Menu.smethod_5(num, Settings.Default.lrsensX, Settings.Default.lrsensY, Settings.Default.lrfire); } } } } if (flag && !Class6.smethod_2(Keys.LButton)) { flag = false; } Thread.Sleep(5); continue; IL_284: if (RS6Menu.int_9 == 999) { foreach (VirtualKeyCode virtualKeyCode4 in list) { RS6Menu.inputManager_0.UnregisterEvent(virtualKeyCode4, new InputManager.KeyStateChangedEventHandler(this.method_9)); } this.bool_0 = false; if (num != RS6Menu.int_12) { num = RS6Menu.int_12; } RS6Menu.smethod_6(num, 0, 0); Thread.Sleep(5); return; } RS6Menu.int_10 = RS6Menu.int_9; RS6Menu.smethod_0(); goto IL_2A4; } }