Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "StandardIncludes.h"
- #include "Xor.h"
- #include <tlhelp32.h>
- #include <Psapi.h>
- class CTools
- {
- public:
- LPD3DXFONT pFont = NULL;
- D3DVIEWPORT9 viewPort;
- D3DVIEWPORT9 g_ViewPort;
- D3DXMATRIX ProjMatrix, ViewMatrix, WorldMatrix, Identity;
- D3DXVECTOR3 GetMidPoint(D3DXVECTOR3 V1, D3DXVECTOR3 V2);
- D3DXVECTOR3 *W2S(LPDIRECT3DDEVICE9 pDevice, D3DXVECTOR3 &Position);
- D3DXVECTOR3 *W2S2(LPDIRECT3DDEVICE9 pDevice, D3DXVECTOR3 &Position);
- DWORD FindPattern(char *module, char *pattern, char *mask, DWORD position);
- DWORD _FindPattern(DWORD dwAddress, DWORD dwLen, BYTE *bMask, char * szMask);
- DWORD SaveBytes(DWORD TargetFunction, unsigned char *backup);
- DWORD RestoreBytes(DWORD TargetFunction, unsigned char *Org_Bytes);
- DWORD D3D9VTable();
- BOOL Init;
- BOOL CheckWindowsVersion(DWORD dwMajorVersion, DWORD dwMinorVersion, DWORD dwProductType);
- VOID StebWriteText(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, DWORD color, CHAR *text);
- VOID WriteText(LPDIRECT3DDEVICE9 pDevice, INT x, INT y, DWORD color, CHAR *text);
- VOID FillRGB(int x, int y, int w, int h, D3DCOLOR color, LPDIRECT3DDEVICE9 pDevice);
- VOID DrawPoint(int x, int y, int w, int h, D3DCOLOR color, LPDIRECT3DDEVICE9 pDevice);
- VOID DrawFilledRectangle(D3DXVECTOR2 Pos, D3DXVECTOR2 Size, D3DCOLOR Color);
- VOID DrawCircle(D3DXVECTOR2 Pos, float Radius, int Sides, D3DCOLOR Color);
- VOID DrawMouse(D3DXVECTOR2 Pos, D3DCOLOR Color);
- VOID __cdecl LogError(const char * fmt, ...);
- VOID WINAPI WriteMemory(LPVOID lpAddress, LPBYTE lpBuffer, DWORD dwLengh);
- VOID *DetourCreate(BYTE *src, CONST BYTE *dst, CONST INT len);
- VOID WINAPI WriteJump(DWORD dwFunction, DWORD dwAddress);
- void Healthbar(LPDIRECT3DDEVICE9 pDevice, float x, float y, float Health);
- void DrawLine(LPDIRECT3DDEVICE9 pDevice, float x, float y, float x2, float y2, float width, D3DCOLOR color);
- void DrawRect(IDirect3DDevice9* dev, int x, int y, int w, int h, D3DCOLOR color);
- void LBox(IDirect3DDevice9* Device, int x, int y, int w, int h, D3DCOLOR Outline);
- void MsgBoxAddy(DWORD addy);
- void Bypass();
- bool initialize;
- bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask);
- int togglemultiplecolors;
- int togglerankcolors = 0;
- int toggleweaponeffect = 0;
- int ingame;
- int protect;
- int success;
- char *GetDirectoryFile(char *filename);
- float Distance(D3DXVECTOR3 vPoint1, D3DXVECTOR3 vPoint2);
- HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32);
- LPDIRECT3DTEXTURE9 texRed, texGreen, texBlue, texYellow, texWhite, texOrange, texBlack, texOWhite, texSTEB;
- MODULEINFO GetModuleInfo(char *szModule);
- ID3DXLine *pLine;
- };
- extern CTools Tools;
- extern ofstream ofile;
- extern char dlldir[320];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement