-
Notifications
You must be signed in to change notification settings - Fork 3
/
sdk.h
71 lines (64 loc) · 1.66 KB
/
sdk.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#pragma warning(disable : 4800)
#pragma warning(disable : 4244)
#pragma once
#include <stdio.h>
#include <vector>
#include <string>
#include <time.h>
#include <iostream>
#include <sstream>
#include <Windows.h>
#include <stdlib.h>
#include <windows.h>
#include <string>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <map>
#include <sstream>
#include <iostream>
#include <cstdio>
using namespace std;
#include "definitions.h"
#include "indexes.h"
#include "libraries\vmt.h"
#include "structs\vector.h"
#include "structs\vmatrix.h"
#include "structs\baseentity.h"
#include "structs\cliententlist.h"
#include "structs\usercmd.h"
#include "structs\playerinfo.h"
#include "structs\engine.h"
#include "structs\globals.h"
#include "structs\input.h"
#include "structs\panel.h"
#include "structs\surface.h"
#include "structs\client.h"
#include "structs\crc32.h"
#include "structs\quaternion.h"
#include "structs\modelinfo.h"
#include "structs\dt_common2.h"
#include "structs\dt_recv2.h"
#include "structs\trace.h"
#include "structs\checksum_md5.h"
#include "libraries\math.h"
#include "libraries\interfaces.h"
#include "render.h"
#include "hooks.h"
void StartCheat();
BOOL WINAPI DllMain(HINSTANCE Instance, DWORD Reason, LPVOID Reserved)
{
if (Reason == DLL_PROCESS_ATTACH)
{
//AllocConsole();
//HWND hwnd = GetConsoleWindow();
//HMENU hMenu = GetSystemMenu(hwnd, FALSE);
//if (hMenu) DeleteMenu(hMenu, SC_CLOSE, MF_BYCOMMAND);
//SetConsoleTitle("[BHOP]: Console");
//freopen("CONIN$", "r", stdin);
//freopen("CONOUT$", "w", stdout);
Interfaces.GetInterfaces();
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)StartCheat, NULL, NULL, NULL);
}
return true;
}