/* Start code */ void main() { /* Rename Console */ SetConsoleTitle(" XTools Multi-Hack"); SetWindow(29, 30, ConsolePos_x, ConsolePos_y); /* Console output */ cout << "-----------------------------" << endl; cout << "| XTools Multi Hack |" << endl; cout << "| |" << endl; cout << "| Hotkeys: |" << endl; cout << "| -> BunnyHop: F9 |" << endl; cout << "| -> RCS: F8 |" << endl; cout << "| -> Radar: F7 |" << endl; cout << "| -> SlowAIM: F6 |" << endl; cout << "| -> GlowESP: F5 |" << endl; cout << "| -> EXIT: F4 |" << endl; cout << "-----------------------------" << endl; /* Attach to the GAME process */ if (!MManager.Attach("csgo.exe")) { cout << "-----------------------------" << endl; cout << "| :WARNING: |" << endl; cout << "| CS:GO NOT FOUND! |" << endl; cout << "| CLOSING IN 3 SEC |" << endl; cout << "-----------------------------" << endl; Sleep(1000 * 3); exit(0); } cout << "-----------------------------" << endl; cout << "| :ACTIVATION: |" << endl; cout << "| |" << endl; /* Get client.dll and engine.dll */ Client = MManager.GetModule("client.dll"); Engine = MManager.GetModule("engine.dll"); /* Find all the offsets that the code need using pattern scan */ PatternScan(); /* Threads creation for multiple functions at the same time */ thread ACTIVATION_thread = thread(ActivationByHotkeys); thread CONSOLEMOVE_thread = thread(MoveConsole); thread GLOW_thread = thread(GLOW); thread RADAR_thread = thread(RADAR); thread SLOWAIM_thread = thread(SLOWAIM); thread BHOP_thread = thread(BHOP); thread RCS_thread = thread(RCS); /* Start threads */ ACTIVATION_thread.join(); CONSOLEMOVE_thread.join(); GLOW_thread.join(); RADAR_thread.join(); SLOWAIM_thread.join(); BHOP_thread.join(); RCS_thread.join(); }