├── DirectX Overlay.suo ├── DirectX Overlay.vcxproj ├── DirectX Overlay.vcxproj.filters ├── DirectX Overlay.vcxproj.user ├── DirectX.cpp ├── DirectX.h ├── Drawings.cpp ├── Drawings.h ├── Driver ├── Eclairs.sys ├── Manual_stop.bat ├── loader.exe ├── readme.txt └── rigister.bat ├── Esp.cpp ├── Esp.h ├── IMGUI Version ├── README.md ├── RIXOT_IMGUI.sln ├── aero-overlay │ ├── README.md │ ├── aero-overlay.vcxproj │ ├── aero-overlay.vcxproj.filters │ ├── aero-overlay.vcxproj.user │ ├── contrib │ │ └── DirectX-SDK │ │ │ ├── Include │ │ │ ├── D2D1.h │ │ │ ├── D2D1Helper.h │ │ │ ├── D2DBaseTypes.h │ │ │ ├── D2Derr.h │ │ │ ├── D3D10.h │ │ │ ├── D3D10_1.h │ │ │ ├── D3D10_1shader.h │ │ │ ├── D3D10effect.h │ │ │ ├── D3D10shader.h │ │ │ ├── D3D11.h │ │ │ ├── D3D11SDKLayers.h │ │ │ ├── D3D11Shader.h │ │ │ ├── D3DCSX.h │ │ │ ├── D3DX10.h │ │ │ ├── D3DX10core.h │ │ │ ├── D3DX10math.h │ │ │ ├── D3DX10math.inl │ │ │ ├── D3DX10mesh.h │ │ │ ├── D3DX10tex.h │ │ │ ├── D3DX11.h │ │ │ ├── D3DX11async.h │ │ │ ├── D3DX11core.h │ │ │ ├── D3DX11tex.h │ │ │ ├── D3DX_DXGIFormatConvert.inl │ │ │ ├── D3Dcommon.h │ │ │ ├── D3Dcompiler.h │ │ │ ├── DWrite.h │ │ │ ├── DXGI.h │ │ │ ├── DXGIFormat.h │ │ │ ├── DXGIType.h │ │ │ ├── Dcommon.h │ │ │ ├── DxErr.h │ │ │ ├── PIXPlugin.h │ │ │ ├── X3DAudio.h │ │ │ ├── XAPO.h │ │ │ ├── XAPOBase.h │ │ │ ├── XAPOFX.h │ │ │ ├── XAudio2.h │ │ │ ├── XAudio2fx.h │ │ │ ├── XDSP.h │ │ │ ├── XInput.h │ │ │ ├── audiodefs.h │ │ │ ├── comdecl.h │ │ │ ├── d3d10misc.h │ │ │ ├── d3d10sdklayers.h │ │ │ ├── d3d9.h │ │ │ ├── d3d9caps.h │ │ │ ├── d3d9types.h │ │ │ ├── d3dx10async.h │ │ │ ├── d3dx9.h │ │ │ ├── d3dx9anim.h │ │ │ ├── d3dx9core.h │ │ │ ├── d3dx9effect.h │ │ │ ├── d3dx9math.h │ │ │ ├── d3dx9math.inl │ │ │ ├── d3dx9mesh.h │ │ │ ├── d3dx9shader.h │ │ │ ├── d3dx9shape.h │ │ │ ├── d3dx9tex.h │ │ │ ├── d3dx9xof.h │ │ │ ├── dinput.h │ │ │ ├── dinputd.h │ │ │ ├── dsconf.h │ │ │ ├── dsetup.h │ │ │ ├── dsound.h │ │ │ ├── dxdiag.h │ │ │ ├── dxfile.h │ │ │ ├── dxsdkver.h │ │ │ ├── gameux.h │ │ │ ├── rmxfguid.h │ │ │ ├── rmxftmpl.h │ │ │ ├── rpcsal.h │ │ │ ├── xact3.h │ │ │ ├── xact3d3.h │ │ │ ├── xact3wb.h │ │ │ ├── xma2defs.h │ │ │ ├── xnamath.h │ │ │ ├── xnamathconvert.inl │ │ │ ├── xnamathmatrix.inl │ │ │ ├── xnamathmisc.inl │ │ │ └── xnamathvector.inl │ │ │ ├── Lib │ │ │ ├── x64 │ │ │ │ ├── D3DCSX.lib │ │ │ │ ├── D3DCSXd.lib │ │ │ │ ├── DxErr.lib │ │ │ │ ├── X3DAudio.lib │ │ │ │ ├── XAPOFX.lib │ │ │ │ ├── XInput.lib │ │ │ │ ├── d2d1.lib │ │ │ │ ├── d3d10.lib │ │ │ │ ├── d3d10_1.lib │ │ │ │ ├── d3d11.lib │ │ │ │ ├── d3d9.lib │ │ │ │ ├── d3dcompiler.lib │ │ │ │ ├── d3dx10.lib │ │ │ │ ├── d3dx10d.lib │ │ │ │ ├── d3dx11.lib │ │ │ │ ├── d3dx11d.lib │ │ │ │ ├── d3dx9.lib │ │ │ │ ├── d3dx9d.lib │ │ │ │ ├── d3dxof.lib │ │ │ │ ├── dinput8.lib │ │ │ │ ├── dsound.lib │ │ │ │ ├── dwrite.lib │ │ │ │ ├── dxgi.lib │ │ │ │ ├── dxguid.lib │ │ │ │ ├── xapobase.lib │ │ │ │ └── xapobased.lib │ │ │ └── x86 │ │ │ │ ├── D3DCSX.lib │ │ │ │ ├── D3DCSXd.lib │ │ │ │ ├── DxErr.lib │ │ │ │ ├── X3DAudio.lib │ │ │ │ ├── XAPOFX.lib │ │ │ │ ├── XInput.lib │ │ │ │ ├── d2d1.lib │ │ │ │ ├── d3d10.lib │ │ │ │ ├── d3d10_1.lib │ │ │ │ ├── d3d11.lib │ │ │ │ ├── d3d9.lib │ │ │ │ ├── d3dcompiler.lib │ │ │ │ ├── d3dx10.lib │ │ │ │ ├── d3dx10d.lib │ │ │ │ ├── d3dx11.lib │ │ │ │ ├── d3dx11d.lib │ │ │ │ ├── d3dx9.lib │ │ │ │ ├── d3dx9d.lib │ │ │ │ ├── d3dxof.lib │ │ │ │ ├── dinput8.lib │ │ │ │ ├── dsetup.lib │ │ │ │ ├── dsound.lib │ │ │ │ ├── dwrite.lib │ │ │ │ ├── dxgi.lib │ │ │ │ ├── dxguid.lib │ │ │ │ ├── xapobase.lib │ │ │ │ └── xapobased.lib │ │ │ └── README.md │ ├── hacks │ │ ├── Esp.cpp │ │ ├── Esp.h │ │ ├── MemoryManager.cpp │ │ ├── MemoryManager.h │ │ ├── ProcManager.cpp │ │ ├── ProcManager.h │ │ ├── Utilities.cpp │ │ ├── Utilities.h │ │ ├── communications.hpp │ │ ├── kernelinterface.hpp │ │ ├── pch.cpp │ │ ├── pch.h │ │ ├── screen.cpp │ │ ├── screen.h │ │ └── termcolor.h │ ├── imgui.ini │ ├── include │ │ ├── drawing │ │ │ └── Color.hpp │ │ ├── imgui │ │ │ ├── imconfig.h │ │ │ ├── imgui.cpp │ │ │ ├── imgui.h │ │ │ ├── imgui_demo.cpp │ │ │ ├── imgui_draw.cpp │ │ │ ├── imgui_impl_dx9.cpp │ │ │ ├── imgui_impl_dx9.h │ │ │ ├── imgui_impl_win32.cpp │ │ │ ├── imgui_impl_win32.h │ │ │ ├── imgui_internal.h │ │ │ ├── imgui_widgets.cpp │ │ │ ├── imstb_rectpack.h │ │ │ ├── imstb_textedit.h │ │ │ └── imstb_truetype.h │ │ ├── render │ │ │ ├── Device2D.hpp │ │ │ ├── Device3D9.hpp │ │ │ ├── Font.hpp │ │ │ ├── Font2D.hpp │ │ │ ├── Font3D9.hpp │ │ │ ├── Overlay.hpp │ │ │ ├── Surface.hpp │ │ │ ├── Surface2D.hpp │ │ │ └── Surface3D9.hpp │ │ └── stdafx.hpp │ └── src │ │ ├── Color.cpp │ │ ├── Device2D.cpp │ │ ├── Device3D9.cpp │ │ ├── Font2D.cpp │ │ ├── Font3D9.cpp │ │ ├── Overlay.cpp │ │ ├── Surface.cpp │ │ ├── Surface2D.cpp │ │ ├── Surface3D9.cpp │ │ └── main.cpp └── build │ └── Release-x64 │ └── RIXOT-IMGUI.exe ├── Main.cpp ├── Main.h ├── MemoryManager.cpp ├── MemoryManager.h ├── ProcManager.cpp ├── ProcManager.h ├── README.md ├── RIXOT.jpg ├── RIXOT.sln ├── Utilities.cpp ├── Utilities.h ├── communications.hpp ├── icons ├── (1).png ├── (10).png ├── (11).png ├── (12).png ├── (13).png ├── (14).png ├── (15).png ├── (16).png ├── (17).png ├── (18).png ├── (19).png ├── (2).png ├── (20).png ├── (21).png ├── (22).png ├── (23).png ├── (24).png ├── (25).png ├── (26).png ├── (27).png ├── (28).png ├── (29).png ├── (3).png ├── (30).png ├── (31).png ├── (32).png ├── (33).png ├── (34).png ├── (35).png ├── (36).png ├── (37).png ├── (38).png ├── (39).png ├── (4).png ├── (40).png ├── (41).png ├── (42).png ├── (43).png ├── (44).png ├── (45).png ├── (46).png ├── (47).png ├── (48).png ├── (49).png ├── (5).png ├── (50).png ├── (51).png ├── (52).png ├── (53).png ├── (54).png ├── (55).png ├── (56).png ├── (57).png ├── (58).png ├── (59).png ├── (6).png ├── (60).png ├── (61).png ├── (62).png ├── (63).png ├── (64).png ├── (65).png ├── (66).png ├── (67).png ├── (68).png ├── (69).png ├── (7).png ├── (8).png └── (9).png ├── images ├── RIXOT_WORKING.png └── ReadMe.md ├── kernelinterface.hpp ├── pch.cpp ├── pch.h ├── runsdvui.cmd └── termcolor.h /DirectX Overlay.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/DirectX Overlay.suo -------------------------------------------------------------------------------- /DirectX Overlay.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | 14 | 15 | sourcesFiles 16 | 17 | 18 | sourcesFiles 19 | 20 | 21 | sourcesFiles 22 | 23 | 24 | sourcesFiles 25 | 26 | 27 | sourcesFiles 28 | 29 | 30 | sourcesFiles 31 | 32 | 33 | sourcesFiles 34 | 35 | 36 | sourcesFiles 37 | 38 | 39 | 40 | 41 | headerFiles 42 | 43 | 44 | headerFiles 45 | 46 | 47 | headerFiles 48 | 49 | 50 | headerFiles 51 | 52 | 53 | headerFiles 54 | 55 | 56 | headerFiles 57 | 58 | 59 | headerFiles 60 | 61 | 62 | headerFiles 63 | 64 | 65 | headerFiles 66 | 67 | 68 | headerFiles 69 | 70 | 71 | headerFiles 72 | 73 | 74 | -------------------------------------------------------------------------------- /DirectX Overlay.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /DirectX.h: -------------------------------------------------------------------------------- 1 | #ifndef DIRECTX_H 2 | #define DIRECTX_H 3 | 4 | 5 | #include "Main.h" 6 | #include "Drawings.h" 7 | 8 | 9 | #include 10 | #include 11 | 12 | 13 | #include 14 | #include 15 | #pragma comment(lib, "d3d9.lib") 16 | #pragma comment(lib, "d3dx9.lib") 17 | 18 | 19 | #include 20 | #pragma comment(lib, "dwmapi.lib") 21 | 22 | 23 | extern IDirect3D9Ex* p_Object; 24 | extern IDirect3DDevice9Ex* p_Device; 25 | extern D3DPRESENT_PARAMETERS p_Params; 26 | extern ID3DXLine* p_Line; 27 | extern ID3DXFont* pFontSmall; 28 | 29 | int DirectXInit(HWND hWnd); 30 | int Render(); 31 | void GetKey(); 32 | void LoadFont(); 33 | void aimbotload(); 34 | #endif -------------------------------------------------------------------------------- /Drawings.cpp: -------------------------------------------------------------------------------- 1 | #include "Drawings.h" 2 | #define PI 3.14159265 3 | 4 | ID3DXLine* pLine = NULL; 5 | LPDIRECT3DTEXTURE9 imagetexList[70]; 6 | LPD3DXSPRITE spriteList[70]; 7 | void DrawSprite(Vector3 pos, int id) 8 | { 9 | if (id == -1) 10 | return; 11 | D3DXVECTOR3 imagepos; 12 | imagepos.x = pos.x; 13 | imagepos.y = pos.y; 14 | imagepos.z = 0; 15 | D3DSURFACE_DESC desc; 16 | imagetexList[id]->GetLevelDesc(0, &desc); 17 | try { 18 | float screen_pos_x = pos.x; 19 | float screen_pos_y = pos.y; 20 | D3DXVECTOR2 spriteCentre = D3DXVECTOR2(desc.Width / 2, desc.Height / 2); 21 | D3DXVECTOR2 trans = D3DXVECTOR2(screen_pos_x - (desc.Width/4), screen_pos_y - (desc.Height/2)); 22 | D3DXMATRIX mat; 23 | D3DXVECTOR2 scaling(0.5f, 0.5f); 24 | D3DXMatrixTransformation2D(&mat, NULL, 0.0, &scaling, &spriteCentre, 0, &trans); 25 | spriteList[id]->Begin(D3DXSPRITE_ALPHABLEND); 26 | spriteList[id]->SetTransform(&mat); 27 | spriteList[id]->Draw(imagetexList[id], NULL, NULL, NULL, 0xFFFFFFFF); 28 | spriteList[id]->End(); 29 | /*spriteList[id]->Begin(D3DXSPRITE_ALPHABLEND); //begin our sprite with alphablend so it support alpha, like png use alpha 30 | spriteList[id]->Draw(imagetexList[id], NULL, NULL, &imagepos, 0xFFFFFFFF); //Draw the sprite, first parameter is the image texture, 4th parameter is the position, last parameter is the color change leave to 0xFFFFFFFF for no change 31 | spriteList[id]->End(); //end the sprite*/ 32 | } 33 | catch (std::exception ex) 34 | { 35 | //lol 36 | } 37 | } 38 | void DrawString(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font, bool centered) 39 | { 40 | RECT FontPos; 41 | char* Stri = const_cast(str.c_str()); 42 | FontPos.left = x; 43 | FontPos.top = y; 44 | if (centered) 45 | { 46 | TEXTMETRICA txtmet; 47 | 48 | font->GetTextMetrics(&txtmet); 49 | 50 | int size = (strlen(Stri) * (txtmet.tmAveCharWidth + 1))/2; 51 | FontPos.left = x - size; 52 | font->DrawTextA(0, Stri, strlen(Stri), &FontPos, DT_NOCLIP, D3DCOLOR_ARGB(a, r, g, b)); 53 | } 54 | else 55 | { 56 | font->DrawTextA(0, Stri, strlen(Stri), &FontPos, DT_LEFT | DT_NOCLIP, D3DCOLOR_ARGB(a, r, g, b)); 57 | } 58 | 59 | } 60 | void DrawStringBoderd(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font, bool centered) 61 | { 62 | DrawString(str, x-1, y-1, a, 255, 255, 255, font, centered); 63 | DrawString(str, x-1, y+1, a, 255, 255, 255, font, centered); 64 | DrawString(str, x+1, y-1, a, 255, 255, 255, font, centered); 65 | DrawString(str, x+1, y+1, a, 255, 255, 255, font, centered); 66 | DrawString(str, x, y, a, r, g, b, font, centered); 67 | } 68 | void DrawBoxText(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font, bool centered) 69 | { 70 | RECT FontPos; 71 | char* Stri = const_cast(str.c_str()); 72 | FontPos.left = x; 73 | FontPos.top = y; 74 | if (centered) 75 | { 76 | TEXTMETRICA txtmet; 77 | 78 | font->GetTextMetrics(&txtmet); 79 | 80 | int size = (strlen(Stri) * (txtmet.tmAveCharWidth + 1)) / 2; 81 | FontPos.left = x - size; 82 | DrawBoxFilled(x - size - 1, y, size * 2, 25, 90, 0, 0, 255); 83 | font->DrawTextA(0, Stri, strlen(Stri), &FontPos, DT_NOCLIP, D3DCOLOR_ARGB(a, r, g, b)); 84 | } 85 | else 86 | { 87 | font->DrawTextA(0, Stri, strlen(Stri), &FontPos, DT_LEFT | DT_NOCLIP, D3DCOLOR_ARGB(a, r, g, b)); 88 | } 89 | } 90 | void DrawFilledRectangle(float x, float y, float w, float h, int a, int r, int g, int b) 91 | { 92 | D3DRECT rect = { x, y, x + w, y + h }; 93 | p_Device->Clear(1, &rect, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_ARGB(a, r, g, b), 1.0f, 0); 94 | 95 | } 96 | void DrawBoxFilled(float x, float y, float w, float h, int a, int r, int g, int b) 97 | { 98 | D3DXVECTOR2 points[2]; 99 | for (int i = 0; i < w;i++) 100 | { 101 | points[0].x = x+i; 102 | points[0].y = y; 103 | 104 | points[1].x = x+i; 105 | points[1].y = y+h; 106 | pLine->Draw(points, 2, D3DCOLOR_ARGB(a, r, g, b)); 107 | } 108 | } 109 | HRESULT initdata() 110 | { 111 | if (FAILED(D3DXCreateLine(p_Device, &pLine))) 112 | return E_FAIL; 113 | pLine->SetWidth(1.6f); 114 | pLine->SetPattern(0xFFFFFFFF); 115 | pLine->SetAntialias(false); 116 | 117 | for (int i = 1; i < 70; i++) 118 | { 119 | std::string path = "icons\\("; 120 | if (FAILED(D3DXCreateTextureFromFileA(p_Device, path.append(std::to_string(i).append(")").append(".png")).c_str(), &imagetexList[i]))) 121 | { 122 | //Emsg("Failed to laod the image"); 123 | return E_FAIL; //return it failed 124 | } 125 | if (FAILED(D3DXCreateSprite(p_Device, &spriteList[i]))) 126 | { 127 | //Emsg("Failed to create the sprite"); 128 | return E_FAIL; 129 | } 130 | } 131 | return S_OK; 132 | } 133 | void DrawPlayerBlood(float x, float y, float h, float w, float fBlood, int max ) 134 | { 135 | float thickness = 2; 136 | if (fBlood > 70.0) 137 | { 138 | //DrawBorderBox(x, y, w, h, 1, 255, 0, 255, 0); 139 | DrawFilledRectangle(x, y, thickness, h * fBlood / max, 255, 0, 255, 0); // y 140 | } 141 | if (fBlood > 30.0 && fBlood <= 70.0) 142 | { 143 | //DrawBorderBox(x, y, w, h, 1, 255, 0, 255, 0); 144 | DrawFilledRectangle(x, y, thickness, h * fBlood / max, 255, 255, 255, 0); // y 145 | } 146 | if (fBlood > 0.0 && fBlood <= 30.0) 147 | { 148 | //DrawBorderBox(x, y, w, h, 1, 255, 0, 255, 0); 149 | DrawFilledRectangle(x, y, thickness, h * fBlood / max, 255, 255, 0, 0); // y 150 | } 151 | } 152 | void DrawLine(float x,float y,float x2,float y2,int a,int r,int g,int b) 153 | { 154 | D3DXVECTOR2 points[2]; 155 | points[0].x = x; 156 | points[1].x = x2; 157 | points[0].y = y; 158 | points[1].y = y2; 159 | pLine->Draw(points, 2, D3DCOLOR_ARGB(a,r,g,b)); 160 | 161 | } 162 | 163 | void DrawBorderBox(float x, float y, float w, float h, int thickness, int a, int r, int g, int b) 164 | { 165 | DrawFilledRectangle(x, y, w, thickness, a, r, g, b); // x 166 | DrawFilledRectangle(x, y, thickness, h, a, r, g, b); // y 167 | DrawFilledRectangle(x + w, y, thickness, h,a, r, g, b); // w 168 | DrawFilledRectangle(x, y + h, w + thickness, thickness, a, r, g, b); // h 169 | } 170 | void Circle(int X, int Y, int radius, int numSides, D3DCOLOR Color) 171 | { 172 | D3DXVECTOR2 Line[128]; 173 | float Step = PI * 2.0 / numSides; 174 | int Count = 0; 175 | for (float a = 0; a < PI * 2.0; a += Step) 176 | { 177 | float X1 = radius * cos(a) + X; 178 | float Y1 = radius * sin(a) + Y; 179 | float X2 = radius * cos(a + Step) + X; 180 | float Y2 = radius * sin(a + Step) + Y; 181 | Line[Count].x = X1; 182 | Line[Count].y = Y1; 183 | Line[Count + 1].x = X2; 184 | Line[Count + 1].y = Y2; 185 | Count += 2; 186 | } 187 | pLine->Begin(); 188 | pLine->Draw(Line, Count, Color); 189 | pLine->End(); 190 | } -------------------------------------------------------------------------------- /Drawings.h: -------------------------------------------------------------------------------- 1 | #ifndef DRAWINGS_H 2 | #define DRAWINGS_H 3 | 4 | #include "Utilities.h" 5 | #include "DirectX.h" 6 | 7 | #pragma warning( disable : 4244 ) 8 | #pragma warning( disable : 4996 ) 9 | 10 | 11 | #include 12 | #include 13 | #pragma comment(lib, "d3d9.lib") 14 | #pragma comment(lib, "d3dx9.lib") 15 | #include 16 | 17 | void DrawString(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font,bool centered = false); 18 | void DrawFilledRectangle(float x, float y, float w, float h, int a, int r, int g, int b); 19 | void DrawBoxFilled(float x, float y, float w, float h, int a, int r, int g, int b); 20 | void DrawBoxText(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font, bool centered = false); 21 | void DrawBorderBox(float x, float y, float w, float h, int thickness, int a, int r, int g, int b); 22 | void DrawLine(float x, float y, float x2, float y2, int a, int r, int g, int b); 23 | void DrawPlayerBlood(float x, float y, float h, float w, float fBlood, int max = 100); 24 | void DrawStringBoderd(std::string str, int x, int y, int a, int r, int g, int b, ID3DXFont* font, bool centered); 25 | void Circle(int X, int Y, int radius, int numSides, D3DCOLOR Color); 26 | HRESULT initdata(); 27 | void DrawSprite(Vector3 pos, int id); 28 | #endif -------------------------------------------------------------------------------- /Driver/Eclairs.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/Driver/Eclairs.sys -------------------------------------------------------------------------------- /Driver/Manual_stop.bat: -------------------------------------------------------------------------------- 1 | sc stop chokobar 2 | sc delete chokobar 3 | pause -------------------------------------------------------------------------------- /Driver/loader.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/Driver/loader.exe -------------------------------------------------------------------------------- /Driver/readme.txt: -------------------------------------------------------------------------------- 1 | { ALL THINGS MUST RUN AS ADMINSTRATOR } 2 | step 1 : Open loader.exe [As Admin] 3 | step 2 : Edit rigister.bat and Find $path$ and replace it With Your Folder Path and Run rigister.bat [As Admin] 4 | step 3 : Click On Folder Path And Type CMD And Hit Enter 5 | step 4 : Type [Without ""] "loader.exe -e" 6 | step 5 : Open RIXOT.exe [Game Must be Opened] 7 | step 6 : Skip ADD and Copy Your Key And Hit Ok. 8 | step 7 : Enjoy. 9 | [After Playing Run Manual_stop.bat as admin] 10 | 11 | [Repeat steps every Time] 12 | [This is My Powerful Paid Hack You Can Play Free] 13 | [IMP] : While Using Aimbot Do Not Aim Player Behind Walls not in Traning Also. 14 | [This Hack Is Safe But I am Not Suggesting Main Id] 15 | 16 | [Any Errors install DirectX9 and DirectX11 With Visual c++ ] 17 | 18 | Download Link Drivers : https://mega.nz/folder/bthBzIoK#nMVI9DojhCnsnQhYI7uZbA 19 | 20 | [If Any .dll Error Then Download Above Link Driver and Install Them] 21 | -------------------------------------------------------------------------------- /Driver/rigister.bat: -------------------------------------------------------------------------------- 1 | sc create chokobar binpath= "$path$\Eclairs.sys" type= kernel 2 | sc start chokobar 3 | pause -------------------------------------------------------------------------------- /Esp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | #include "Utilities.h" 4 | class Esp{ 5 | public: 6 | Esp(); 7 | ~Esp(); 8 | 9 | DWORD viewWordBase; 10 | DWORD uWorld; 11 | DWORD gNames; 12 | BYTE ShellCode[96] = { 13 | 0x89 ,0x15 ,0x70 ,0x00 ,0xDB ,0x3A ,0x8B ,0x55 ,0x34 ,0xA2 ,0x64 ,0x00 ,0xDB ,0x3A ,0x8A ,0x82 ,0xE0 ,0xFD ,0xFF ,0xFF, 14 | 0xA2 ,0x68 ,0x00 ,0xDB ,0x3A ,0x8A ,0x82 ,0xE1 ,0xFD ,0xFF ,0xFF ,0xA2 ,0x6C ,0x00 ,0xDB ,0x3A ,0xA0 ,0x64 ,0x00 ,0xDB, 15 | 0x3A ,0x81 ,0x3D ,0x68 ,0x00 ,0xDB ,0x3A ,0x54 ,0x00 ,0x00 ,0x00 ,0x74 ,0x0E ,0x8B ,0x15 ,0x70 ,0x00 ,0xDB ,0x3A ,0xC7, 16 | 0x45 ,0x68 ,0x18 ,0xC0 ,0xF0 ,0x29 ,0xC3 ,0x81 ,0x3D ,0x6C ,0x00 ,0xDB ,0x3A ,0x05 ,0x00 ,0x00 ,0x00 ,0x74 ,0x02 ,0xEB, 17 | 0xE4 ,0xC7 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0xC7 ,0x42 ,0x04 ,0x00 ,0x00 ,0x00 ,0x00 ,0xEB ,0xD5 18 | }; 19 | BYTE orginByte[7]; 20 | DWORD MagicBulletHook; 21 | uintptr_t modBaseAddr = 0, modSize = 0; 22 | 23 | std::vector playerdata,playerdatar; 24 | std::vector itemdata, itemdatar; 25 | std::vector vehicledata, vehicledatar; 26 | std::vector lootbox, lootboxr; 27 | std::vector boomalert, boomalertr; 28 | std::vector impitem, impitemr; 29 | std::vector MagicBulletList,NoRecoilList; 30 | D3DMatrix vt; 31 | Item tempb,itm; 32 | Vehicle vhi; 33 | Lootbox lbox; 34 | playerData pda; 35 | DWORD uWorlds, uLevel, gameInstance, playerController, playerCarry, uMyObject, MyWorld, entityEntry, entityCount, viewMatrixAddr; 36 | int status; 37 | DWORD entityAddv, entityStruct, playerWorld; 38 | std::string imptm, entityType, name, alert, vehicle,boxitem; 39 | Vector3 enpos,mypos; 40 | int iGet(DWORD base); 41 | float fGet(DWORD base); 42 | DWORD dGet(DWORD base); 43 | 44 | void initmymagic(); 45 | void HookCall(DWORD HookAddr, DWORD CallAddr); 46 | bool areEqual(BYTE cmp1[], BYTE cmp2[]); 47 | bool HookMagic(float x, float y); 48 | void GetMagic(); 49 | void Dump(DWORD adds,int size); 50 | void update(bool allitems = true, bool vichlesp = true,bool lboxshow = true,bool impitm = true); 51 | void init(); 52 | Vector2 GetMagicCoord(Vector3 aim, Vector3 myPos); 53 | void GetModuleBaseAddress(DWORD procId, char * modName); 54 | void initMagic(); 55 | void GetNorecoil(); 56 | DWORD getViewWorld(); 57 | 58 | }; 59 | 60 | 61 | extern Esp* g_pEsp; -------------------------------------------------------------------------------- /IMGUI Version/README.md: -------------------------------------------------------------------------------- 1 | # THIS IS MY IMGUI VERSION FOR PUBG GAMELOOP HACK 2 | 3 | + Same Process As Direct X Version 4 | + No Lag 200+ FPS 5 | + Overlay.cpp -> This File Contains Window Name If You Want to Change 6 | + If Needed You Can Link Direct X -> SDK 7 | + To Show The Menu Use Insert Button 8 | 9 | # Refrences 10 | + This Are Extra Refrences In This Project 11 | + @ReactiioN1337 For IMGUI OverLay Template 12 | -------------------------------------------------------------------------------- /IMGUI Version/RIXOT_IMGUI.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30128.74 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RIXOT-IMGUI", "aero-overlay\aero-overlay.vcxproj", "{3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Debug|x64.ActiveCfg = Debug|x64 17 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Debug|x64.Build.0 = Debug|x64 18 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Debug|x86.ActiveCfg = Debug|Win32 19 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Debug|x86.Build.0 = Debug|Win32 20 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Release|x64.ActiveCfg = Release|x64 21 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Release|x64.Build.0 = Release|x64 22 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Release|x86.ActiveCfg = Release|Win32 23 | {3DDEA1F2-21AD-4249-92FB-EF0B3A47A065}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {0C8DC2FD-233B-4D75-83AF-28AF39E6C614} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/README.md: -------------------------------------------------------------------------------- 1 | This Is Main Source File 2 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/aero-overlay.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/D2DBaseTypes.h: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // 4 | // This file is automatically generated. Please do not edit it directly. 5 | // 6 | // File name: D2DBaseTypes.h 7 | //--------------------------------------------------------------------------- 8 | #pragma once 9 | 10 | 11 | #ifndef _D2DBASETYPES_INCLUDED 12 | #define _D2DBASETYPES_INCLUDED 13 | 14 | #ifndef COM_NO_WINDOWS_H 15 | #include 16 | #endif // #ifndef COM_NO_WINDOWS_H 17 | 18 | #ifndef D3DCOLORVALUE_DEFINED 19 | 20 | //+----------------------------------------------------------------------------- 21 | // 22 | // Struct: 23 | // D3DCOLORVALUE 24 | // 25 | //------------------------------------------------------------------------------ 26 | typedef struct D3DCOLORVALUE 27 | { 28 | FLOAT r; 29 | FLOAT g; 30 | FLOAT b; 31 | FLOAT a; 32 | 33 | } D3DCOLORVALUE; 34 | 35 | #define D3DCOLORVALUE_DEFINED 36 | #endif 37 | 38 | 39 | //+----------------------------------------------------------------------------- 40 | // 41 | // Struct: 42 | // D2D_POINT_2U 43 | // 44 | //------------------------------------------------------------------------------ 45 | typedef struct D2D_POINT_2U 46 | { 47 | UINT32 x; 48 | UINT32 y; 49 | 50 | } D2D_POINT_2U; 51 | 52 | 53 | //+----------------------------------------------------------------------------- 54 | // 55 | // Struct: 56 | // D2D_POINT_2F 57 | // 58 | //------------------------------------------------------------------------------ 59 | typedef struct D2D_POINT_2F 60 | { 61 | FLOAT x; 62 | FLOAT y; 63 | 64 | } D2D_POINT_2F; 65 | 66 | 67 | //+----------------------------------------------------------------------------- 68 | // 69 | // Struct: 70 | // D2D_RECT_F 71 | // 72 | //------------------------------------------------------------------------------ 73 | typedef struct D2D_RECT_F 74 | { 75 | FLOAT left; 76 | FLOAT top; 77 | FLOAT right; 78 | FLOAT bottom; 79 | 80 | } D2D_RECT_F; 81 | 82 | 83 | //+----------------------------------------------------------------------------- 84 | // 85 | // Struct: 86 | // D2D_RECT_U 87 | // 88 | //------------------------------------------------------------------------------ 89 | typedef struct D2D_RECT_U 90 | { 91 | UINT32 left; 92 | UINT32 top; 93 | UINT32 right; 94 | UINT32 bottom; 95 | 96 | } D2D_RECT_U; 97 | 98 | 99 | //+----------------------------------------------------------------------------- 100 | // 101 | // Struct: 102 | // D2D_SIZE_F 103 | // 104 | //------------------------------------------------------------------------------ 105 | typedef struct D2D_SIZE_F 106 | { 107 | FLOAT width; 108 | FLOAT height; 109 | 110 | } D2D_SIZE_F; 111 | 112 | 113 | //+----------------------------------------------------------------------------- 114 | // 115 | // Struct: 116 | // D2D_SIZE_U 117 | // 118 | //------------------------------------------------------------------------------ 119 | typedef struct D2D_SIZE_U 120 | { 121 | UINT32 width; 122 | UINT32 height; 123 | 124 | } D2D_SIZE_U; 125 | 126 | typedef D3DCOLORVALUE D2D_COLOR_F; 127 | 128 | //+----------------------------------------------------------------------------- 129 | // 130 | // Struct: 131 | // D2D_MATRIX_3X2_F 132 | // 133 | //------------------------------------------------------------------------------ 134 | typedef struct D2D_MATRIX_3X2_F 135 | { 136 | FLOAT _11; 137 | FLOAT _12; 138 | FLOAT _21; 139 | FLOAT _22; 140 | FLOAT _31; 141 | FLOAT _32; 142 | 143 | } D2D_MATRIX_3X2_F; 144 | 145 | #endif // #ifndef _D2DBASETYPES_INCLUDED 146 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/D2Derr.h: -------------------------------------------------------------------------------- 1 | /*=========================================================================*\ 2 | 3 | Copyright (c) Microsoft Corporation. All rights reserved. 4 | 5 | \*=========================================================================*/ 6 | 7 | #pragma once 8 | 9 | /*=========================================================================*\ 10 | D2D Status Codes 11 | \*=========================================================================*/ 12 | 13 | #define FACILITY_D2D 0x899 14 | 15 | #define MAKE_D2DHR( sev, code )\ 16 | MAKE_HRESULT( sev, FACILITY_D2D, (code) ) 17 | 18 | #define MAKE_D2DHR_ERR( code )\ 19 | MAKE_D2DHR( 1, code ) 20 | 21 | 22 | //+---------------------------------------------------------------------------- 23 | // 24 | // D2D error codes 25 | // 26 | //------------------------------------------------------------------------------ 27 | 28 | // 29 | // Error codes shared with WINCODECS 30 | // 31 | 32 | // 33 | // The pixel format is not supported. 34 | // 35 | #define D2DERR_UNSUPPORTED_PIXEL_FORMAT WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT 36 | 37 | // 38 | // Error codes that were already returned in prior versions and were part of the 39 | // MIL facility. 40 | 41 | // 42 | // Error codes mapped from WIN32 where there isn't already another HRESULT based 43 | // define 44 | // 45 | 46 | // 47 | // The supplied buffer was too small to accomodate the data. 48 | // 49 | #define D2DERR_INSUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) 50 | 51 | 52 | // 53 | // D2D specific codes 54 | // 55 | 56 | // 57 | // The object was not in the correct state to process the method. 58 | // 59 | #define D2DERR_WRONG_STATE MAKE_D2DHR_ERR(0x001) 60 | 61 | // 62 | // The object has not yet been initialized. 63 | // 64 | #define D2DERR_NOT_INITIALIZED MAKE_D2DHR_ERR(0x002) 65 | 66 | // 67 | // The requested opertion is not supported. 68 | // 69 | #define D2DERR_UNSUPPORTED_OPERATION MAKE_D2DHR_ERR(0x003) 70 | 71 | // 72 | // The geomery scanner failed to process the data. 73 | // 74 | #define D2DERR_SCANNER_FAILED MAKE_D2DHR_ERR(0x004) 75 | 76 | // 77 | // D2D could not access the screen. 78 | // 79 | #define D2DERR_SCREEN_ACCESS_DENIED MAKE_D2DHR_ERR(0x005) 80 | 81 | // 82 | // A valid display state could not be determined. 83 | // 84 | #define D2DERR_DISPLAY_STATE_INVALID MAKE_D2DHR_ERR(0x006) 85 | 86 | // 87 | // The supplied vector is vero. 88 | // 89 | #define D2DERR_ZERO_VECTOR MAKE_D2DHR_ERR(0x007) 90 | 91 | // 92 | // An internal error (D2D bug) occurred. On checked builds, we would assert. 93 | // 94 | // The application should close this instance of D2D and should consider 95 | // restarting its process. 96 | // 97 | #define D2DERR_INTERNAL_ERROR MAKE_D2DHR_ERR(0x008) 98 | 99 | // 100 | // The display format we need to render is not supported by the 101 | // hardware device. 102 | // 103 | #define D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED MAKE_D2DHR_ERR(0x009) 104 | 105 | // 106 | // A call to this method is invalid. 107 | // 108 | #define D2DERR_INVALID_CALL MAKE_D2DHR_ERR(0x00A) 109 | 110 | // 111 | // No HW rendering device is available for this operation. 112 | // 113 | #define D2DERR_NO_HARDWARE_DEVICE MAKE_D2DHR_ERR(0x00B) 114 | 115 | // 116 | // There has been a presentation error that may be recoverable. The caller 117 | // needs to recreate, rerender the entire frame, and reattempt present. 118 | // 119 | #define D2DERR_RECREATE_TARGET MAKE_D2DHR_ERR(0x00C) 120 | 121 | // 122 | // Shader construction failed because it was too complex. 123 | // 124 | #define D2DERR_TOO_MANY_SHADER_ELEMENTS MAKE_D2DHR_ERR(0x00D) 125 | 126 | // 127 | // Shader compilation failed. 128 | // 129 | #define D2DERR_SHADER_COMPILE_FAILED MAKE_D2DHR_ERR(0x00E) 130 | 131 | // 132 | // Requested DX surface size exceeded maximum texture size. 133 | // 134 | #define D2DERR_MAX_TEXTURE_SIZE_EXCEEDED MAKE_D2DHR_ERR(0x00F) 135 | 136 | // 137 | // The requested D2D version is not supported. 138 | // 139 | #define D2DERR_UNSUPPORTED_VERSION MAKE_D2DHR_ERR(0x010) 140 | 141 | // 142 | // Invalid number. 143 | // 144 | #define D2DERR_BAD_NUMBER MAKE_D2DHR_ERR(0x0011) 145 | 146 | // 147 | // Objects used together must be created from the same factory instance. 148 | // 149 | #define D2DERR_WRONG_FACTORY MAKE_D2DHR_ERR(0x012) 150 | 151 | // 152 | // A layer resource can only be in use once at any point in time. 153 | // 154 | #define D2DERR_LAYER_ALREADY_IN_USE MAKE_D2DHR_ERR(0x013) 155 | 156 | // 157 | // The pop call did not match the corresponding push call 158 | // 159 | #define D2DERR_POP_CALL_DID_NOT_MATCH_PUSH MAKE_D2DHR_ERR(0x014) 160 | 161 | // 162 | // The resource was realized on the wrong render target 163 | // 164 | #define D2DERR_WRONG_RESOURCE_DOMAIN MAKE_D2DHR_ERR(0x015) 165 | 166 | // 167 | // The push and pop calls were unbalanced 168 | // 169 | #define D2DERR_PUSH_POP_UNBALANCED MAKE_D2DHR_ERR(0x016) 170 | 171 | // 172 | // Attempt to copy from a render target while a layer or clip rect is applied 173 | // 174 | #define D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT MAKE_D2DHR_ERR(0x017) 175 | 176 | // 177 | // The brush types are incompatible for the call. 178 | // 179 | #define D2DERR_INCOMPATIBLE_BRUSH_TYPES MAKE_D2DHR_ERR(0x018) 180 | 181 | // 182 | // An unknown win32 failure occurred. 183 | // 184 | #define D2DERR_WIN32_ERROR MAKE_D2DHR_ERR(0x019) 185 | 186 | // 187 | // The render target is not compatible with GDI 188 | // 189 | #define D2DERR_TARGET_NOT_GDI_COMPATIBLE MAKE_D2DHR_ERR(0x01A) 190 | 191 | // 192 | // A text client drawing effect object is of the wrong type 193 | // 194 | #define D2DERR_TEXT_EFFECT_IS_WRONG_TYPE MAKE_D2DHR_ERR(0x01B) 195 | 196 | // 197 | // The application is holding a reference to the IDWriteTextRenderer interface 198 | // after the corresponding DrawText or DrawTextLayout call has returned. The 199 | // IDWriteTextRenderer instance will be zombied. 200 | // 201 | #define D2DERR_TEXT_RENDERER_NOT_RELEASED MAKE_D2DHR_ERR(0x01C) 202 | 203 | // 204 | // The requested size is larger than the guaranteed supported texture size. 205 | // 206 | #define D2DERR_EXCEEDS_MAX_BITMAP_SIZE MAKE_D2DHR_ERR(0x01D) 207 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/D3DX10.h: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Copyright (C) Microsoft Corporation. All Rights Reserved. 4 | // 5 | // File: d3dx10.h 6 | // Content: D3DX10 utility library 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifdef __D3DX10_INTERNAL__ 11 | #error Incorrect D3DX10 header used 12 | #endif 13 | 14 | #ifndef __D3DX10_H__ 15 | #define __D3DX10_H__ 16 | 17 | 18 | // Defines 19 | #include 20 | #include 21 | 22 | #define D3DX10_DEFAULT ((UINT) -1) 23 | #define D3DX10_FROM_FILE ((UINT) -3) 24 | #define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT) -3) 25 | 26 | #ifndef D3DX10INLINE 27 | #ifdef _MSC_VER 28 | #if (_MSC_VER >= 1200) 29 | #define D3DX10INLINE __forceinline 30 | #else 31 | #define D3DX10INLINE __inline 32 | #endif 33 | #else 34 | #ifdef __cplusplus 35 | #define D3DX10INLINE inline 36 | #else 37 | #define D3DX10INLINE 38 | #endif 39 | #endif 40 | #endif 41 | 42 | 43 | 44 | // Includes 45 | #include "d3d10.h" 46 | #include "d3dx10.h" 47 | #include "d3dx10math.h" 48 | #include "d3dx10core.h" 49 | #include "d3dx10tex.h" 50 | #include "d3dx10mesh.h" 51 | #include "d3dx10async.h" 52 | 53 | 54 | // Errors 55 | #define _FACDD 0x876 56 | #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) 57 | 58 | enum _D3DX10_ERR { 59 | D3DX10_ERR_CANNOT_MODIFY_INDEX_BUFFER = MAKE_DDHRESULT(2900), 60 | D3DX10_ERR_INVALID_MESH = MAKE_DDHRESULT(2901), 61 | D3DX10_ERR_CANNOT_ATTR_SORT = MAKE_DDHRESULT(2902), 62 | D3DX10_ERR_SKINNING_NOT_SUPPORTED = MAKE_DDHRESULT(2903), 63 | D3DX10_ERR_TOO_MANY_INFLUENCES = MAKE_DDHRESULT(2904), 64 | D3DX10_ERR_INVALID_DATA = MAKE_DDHRESULT(2905), 65 | D3DX10_ERR_LOADED_MESH_HAS_NO_DATA = MAKE_DDHRESULT(2906), 66 | D3DX10_ERR_DUPLICATE_NAMED_FRAGMENT = MAKE_DDHRESULT(2907), 67 | D3DX10_ERR_CANNOT_REMOVE_LAST_ITEM = MAKE_DDHRESULT(2908), 68 | }; 69 | 70 | 71 | #endif //__D3DX10_H__ 72 | 73 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/D3DX11.h: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Copyright (C) Microsoft Corporation. All Rights Reserved. 4 | // 5 | // File: d3dx11.h 6 | // Content: D3DX11 utility library 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifdef __D3DX11_INTERNAL__ 11 | #error Incorrect D3DX11 header used 12 | #endif 13 | 14 | #ifndef __D3DX11_H__ 15 | #define __D3DX11_H__ 16 | 17 | 18 | // Defines 19 | #include 20 | #include 21 | 22 | #ifdef ALLOW_THROWING_NEW 23 | #include 24 | #endif 25 | 26 | #define D3DX11_DEFAULT ((UINT) -1) 27 | #define D3DX11_FROM_FILE ((UINT) -3) 28 | #define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT) -3) 29 | 30 | #ifndef D3DX11INLINE 31 | #ifdef _MSC_VER 32 | #if (_MSC_VER >= 1200) 33 | #define D3DX11INLINE __forceinline 34 | #else 35 | #define D3DX11INLINE __inline 36 | #endif 37 | #else 38 | #ifdef __cplusplus 39 | #define D3DX11INLINE inline 40 | #else 41 | #define D3DX11INLINE 42 | #endif 43 | #endif 44 | #endif 45 | 46 | 47 | 48 | // Includes 49 | #include "d3d11.h" 50 | #include "d3dx11.h" 51 | #include "d3dx11core.h" 52 | #include "d3dx11tex.h" 53 | #include "d3dx11async.h" 54 | 55 | 56 | // Errors 57 | #define _FACDD 0x876 58 | #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) 59 | 60 | enum _D3DX11_ERR { 61 | D3DX11_ERR_CANNOT_MODIFY_INDEX_BUFFER = MAKE_DDHRESULT(2900), 62 | D3DX11_ERR_INVALID_MESH = MAKE_DDHRESULT(2901), 63 | D3DX11_ERR_CANNOT_ATTR_SORT = MAKE_DDHRESULT(2902), 64 | D3DX11_ERR_SKINNING_NOT_SUPPORTED = MAKE_DDHRESULT(2903), 65 | D3DX11_ERR_TOO_MANY_INFLUENCES = MAKE_DDHRESULT(2904), 66 | D3DX11_ERR_INVALID_DATA = MAKE_DDHRESULT(2905), 67 | D3DX11_ERR_LOADED_MESH_HAS_NO_DATA = MAKE_DDHRESULT(2906), 68 | D3DX11_ERR_DUPLICATE_NAMED_FRAGMENT = MAKE_DDHRESULT(2907), 69 | D3DX11_ERR_CANNOT_REMOVE_LAST_ITEM = MAKE_DDHRESULT(2908), 70 | }; 71 | 72 | 73 | #endif //__D3DX11_H__ 74 | 75 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/D3DX11core.h: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Copyright (C) Microsoft Corporation. All Rights Reserved. 4 | // 5 | // File: d3dx11core.h 6 | // Content: D3DX11 core types and functions 7 | // 8 | /////////////////////////////////////////////////////////////////////////// 9 | 10 | #include "d3dx11.h" 11 | 12 | #ifndef __D3DX11CORE_H__ 13 | #define __D3DX11CORE_H__ 14 | 15 | // Current name of the DLL shipped in the same SDK as this header. 16 | 17 | 18 | #define D3DX11_DLL_W L"d3dx11_43.dll" 19 | #define D3DX11_DLL_A "d3dx11_43.dll" 20 | 21 | #ifdef UNICODE 22 | #define D3DX11_DLL D3DX11_DLL_W 23 | #else 24 | #define D3DX11_DLL D3DX11_DLL_A 25 | #endif 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif //__cplusplus 30 | 31 | /////////////////////////////////////////////////////////////////////////// 32 | // D3DX11_SDK_VERSION: 33 | // ----------------- 34 | // This identifier is passed to D3DX11CheckVersion in order to ensure that an 35 | // application was built against the correct header files and lib files. 36 | // This number is incremented whenever a header (or other) change would 37 | // require applications to be rebuilt. If the version doesn't match, 38 | // D3DX11CreateVersion will return FALSE. (The number itself has no meaning.) 39 | /////////////////////////////////////////////////////////////////////////// 40 | 41 | 42 | #define D3DX11_SDK_VERSION 43 43 | 44 | 45 | #ifdef D3D_DIAG_DLL 46 | BOOL WINAPI D3DX11DebugMute(BOOL Mute); 47 | #endif 48 | HRESULT WINAPI D3DX11CheckVersion(UINT D3DSdkVersion, UINT D3DX11SdkVersion); 49 | 50 | #ifdef __cplusplus 51 | } 52 | #endif //__cplusplus 53 | 54 | 55 | 56 | ////////////////////////////////////////////////////////////////////////////// 57 | // ID3DX11ThreadPump: 58 | ////////////////////////////////////////////////////////////////////////////// 59 | 60 | #undef INTERFACE 61 | #define INTERFACE ID3DX11DataLoader 62 | 63 | DECLARE_INTERFACE(ID3DX11DataLoader) 64 | { 65 | STDMETHOD(Load)(THIS) PURE; 66 | STDMETHOD(Decompress)(THIS_ void **ppData, SIZE_T *pcBytes) PURE; 67 | STDMETHOD(Destroy)(THIS) PURE; 68 | }; 69 | 70 | #undef INTERFACE 71 | #define INTERFACE ID3DX11DataProcessor 72 | 73 | DECLARE_INTERFACE(ID3DX11DataProcessor) 74 | { 75 | STDMETHOD(Process)(THIS_ void *pData, SIZE_T cBytes) PURE; 76 | STDMETHOD(CreateDeviceObject)(THIS_ void **ppDataObject) PURE; 77 | STDMETHOD(Destroy)(THIS) PURE; 78 | }; 79 | 80 | // {C93FECFA-6967-478a-ABBC-402D90621FCB} 81 | DEFINE_GUID(IID_ID3DX11ThreadPump, 82 | 0xc93fecfa, 0x6967, 0x478a, 0xab, 0xbc, 0x40, 0x2d, 0x90, 0x62, 0x1f, 0xcb); 83 | 84 | #undef INTERFACE 85 | #define INTERFACE ID3DX11ThreadPump 86 | 87 | DECLARE_INTERFACE_(ID3DX11ThreadPump, IUnknown) 88 | { 89 | // IUnknown 90 | STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE; 91 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; 92 | STDMETHOD_(ULONG, Release)(THIS) PURE; 93 | 94 | // ID3DX11ThreadPump 95 | STDMETHOD(AddWorkItem)(THIS_ ID3DX11DataLoader *pDataLoader, ID3DX11DataProcessor *pDataProcessor, HRESULT *pHResult, void **ppDeviceObject) PURE; 96 | STDMETHOD_(UINT, GetWorkItemCount)(THIS) PURE; 97 | 98 | STDMETHOD(WaitForAllItems)(THIS) PURE; 99 | STDMETHOD(ProcessDeviceWorkItems)(THIS_ UINT iWorkItemCount); 100 | 101 | STDMETHOD(PurgeAllItems)(THIS) PURE; 102 | STDMETHOD(GetQueueStatus)(THIS_ UINT *pIoQueue, UINT *pProcessQueue, UINT *pDeviceQueue) PURE; 103 | 104 | }; 105 | 106 | #ifdef __cplusplus 107 | extern "C" { 108 | #endif //__cplusplus 109 | 110 | HRESULT WINAPI D3DX11CreateThreadPump(UINT cIoThreads, UINT cProcThreads, ID3DX11ThreadPump **ppThreadPump); 111 | 112 | HRESULT WINAPI D3DX11UnsetAllDeviceObjects(ID3D11DeviceContext *pContext); 113 | 114 | #ifdef __cplusplus 115 | } 116 | #endif //__cplusplus 117 | 118 | /////////////////////////////////////////////////////////////////////////// 119 | 120 | #define _FACD3D 0x876 121 | #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) 122 | #define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code ) 123 | 124 | #define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) 125 | #define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540) 126 | 127 | #endif //__D3DX11CORE_H__ 128 | 129 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/DXGIFormat.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __dxgiformat_h__ 3 | #define __dxgiformat_h__ 4 | 5 | #define DXGI_FORMAT_DEFINED 1 6 | 7 | typedef enum DXGI_FORMAT 8 | { 9 | DXGI_FORMAT_UNKNOWN = 0, 10 | DXGI_FORMAT_R32G32B32A32_TYPELESS = 1, 11 | DXGI_FORMAT_R32G32B32A32_FLOAT = 2, 12 | DXGI_FORMAT_R32G32B32A32_UINT = 3, 13 | DXGI_FORMAT_R32G32B32A32_SINT = 4, 14 | DXGI_FORMAT_R32G32B32_TYPELESS = 5, 15 | DXGI_FORMAT_R32G32B32_FLOAT = 6, 16 | DXGI_FORMAT_R32G32B32_UINT = 7, 17 | DXGI_FORMAT_R32G32B32_SINT = 8, 18 | DXGI_FORMAT_R16G16B16A16_TYPELESS = 9, 19 | DXGI_FORMAT_R16G16B16A16_FLOAT = 10, 20 | DXGI_FORMAT_R16G16B16A16_UNORM = 11, 21 | DXGI_FORMAT_R16G16B16A16_UINT = 12, 22 | DXGI_FORMAT_R16G16B16A16_SNORM = 13, 23 | DXGI_FORMAT_R16G16B16A16_SINT = 14, 24 | DXGI_FORMAT_R32G32_TYPELESS = 15, 25 | DXGI_FORMAT_R32G32_FLOAT = 16, 26 | DXGI_FORMAT_R32G32_UINT = 17, 27 | DXGI_FORMAT_R32G32_SINT = 18, 28 | DXGI_FORMAT_R32G8X24_TYPELESS = 19, 29 | DXGI_FORMAT_D32_FLOAT_S8X24_UINT = 20, 30 | DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS = 21, 31 | DXGI_FORMAT_X32_TYPELESS_G8X24_UINT = 22, 32 | DXGI_FORMAT_R10G10B10A2_TYPELESS = 23, 33 | DXGI_FORMAT_R10G10B10A2_UNORM = 24, 34 | DXGI_FORMAT_R10G10B10A2_UINT = 25, 35 | DXGI_FORMAT_R11G11B10_FLOAT = 26, 36 | DXGI_FORMAT_R8G8B8A8_TYPELESS = 27, 37 | DXGI_FORMAT_R8G8B8A8_UNORM = 28, 38 | DXGI_FORMAT_R8G8B8A8_UNORM_SRGB = 29, 39 | DXGI_FORMAT_R8G8B8A8_UINT = 30, 40 | DXGI_FORMAT_R8G8B8A8_SNORM = 31, 41 | DXGI_FORMAT_R8G8B8A8_SINT = 32, 42 | DXGI_FORMAT_R16G16_TYPELESS = 33, 43 | DXGI_FORMAT_R16G16_FLOAT = 34, 44 | DXGI_FORMAT_R16G16_UNORM = 35, 45 | DXGI_FORMAT_R16G16_UINT = 36, 46 | DXGI_FORMAT_R16G16_SNORM = 37, 47 | DXGI_FORMAT_R16G16_SINT = 38, 48 | DXGI_FORMAT_R32_TYPELESS = 39, 49 | DXGI_FORMAT_D32_FLOAT = 40, 50 | DXGI_FORMAT_R32_FLOAT = 41, 51 | DXGI_FORMAT_R32_UINT = 42, 52 | DXGI_FORMAT_R32_SINT = 43, 53 | DXGI_FORMAT_R24G8_TYPELESS = 44, 54 | DXGI_FORMAT_D24_UNORM_S8_UINT = 45, 55 | DXGI_FORMAT_R24_UNORM_X8_TYPELESS = 46, 56 | DXGI_FORMAT_X24_TYPELESS_G8_UINT = 47, 57 | DXGI_FORMAT_R8G8_TYPELESS = 48, 58 | DXGI_FORMAT_R8G8_UNORM = 49, 59 | DXGI_FORMAT_R8G8_UINT = 50, 60 | DXGI_FORMAT_R8G8_SNORM = 51, 61 | DXGI_FORMAT_R8G8_SINT = 52, 62 | DXGI_FORMAT_R16_TYPELESS = 53, 63 | DXGI_FORMAT_R16_FLOAT = 54, 64 | DXGI_FORMAT_D16_UNORM = 55, 65 | DXGI_FORMAT_R16_UNORM = 56, 66 | DXGI_FORMAT_R16_UINT = 57, 67 | DXGI_FORMAT_R16_SNORM = 58, 68 | DXGI_FORMAT_R16_SINT = 59, 69 | DXGI_FORMAT_R8_TYPELESS = 60, 70 | DXGI_FORMAT_R8_UNORM = 61, 71 | DXGI_FORMAT_R8_UINT = 62, 72 | DXGI_FORMAT_R8_SNORM = 63, 73 | DXGI_FORMAT_R8_SINT = 64, 74 | DXGI_FORMAT_A8_UNORM = 65, 75 | DXGI_FORMAT_R1_UNORM = 66, 76 | DXGI_FORMAT_R9G9B9E5_SHAREDEXP = 67, 77 | DXGI_FORMAT_R8G8_B8G8_UNORM = 68, 78 | DXGI_FORMAT_G8R8_G8B8_UNORM = 69, 79 | DXGI_FORMAT_BC1_TYPELESS = 70, 80 | DXGI_FORMAT_BC1_UNORM = 71, 81 | DXGI_FORMAT_BC1_UNORM_SRGB = 72, 82 | DXGI_FORMAT_BC2_TYPELESS = 73, 83 | DXGI_FORMAT_BC2_UNORM = 74, 84 | DXGI_FORMAT_BC2_UNORM_SRGB = 75, 85 | DXGI_FORMAT_BC3_TYPELESS = 76, 86 | DXGI_FORMAT_BC3_UNORM = 77, 87 | DXGI_FORMAT_BC3_UNORM_SRGB = 78, 88 | DXGI_FORMAT_BC4_TYPELESS = 79, 89 | DXGI_FORMAT_BC4_UNORM = 80, 90 | DXGI_FORMAT_BC4_SNORM = 81, 91 | DXGI_FORMAT_BC5_TYPELESS = 82, 92 | DXGI_FORMAT_BC5_UNORM = 83, 93 | DXGI_FORMAT_BC5_SNORM = 84, 94 | DXGI_FORMAT_B5G6R5_UNORM = 85, 95 | DXGI_FORMAT_B5G5R5A1_UNORM = 86, 96 | DXGI_FORMAT_B8G8R8A8_UNORM = 87, 97 | DXGI_FORMAT_B8G8R8X8_UNORM = 88, 98 | DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM = 89, 99 | DXGI_FORMAT_B8G8R8A8_TYPELESS = 90, 100 | DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 91, 101 | DXGI_FORMAT_B8G8R8X8_TYPELESS = 92, 102 | DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 93, 103 | DXGI_FORMAT_BC6H_TYPELESS = 94, 104 | DXGI_FORMAT_BC6H_UF16 = 95, 105 | DXGI_FORMAT_BC6H_SF16 = 96, 106 | DXGI_FORMAT_BC7_TYPELESS = 97, 107 | DXGI_FORMAT_BC7_UNORM = 98, 108 | DXGI_FORMAT_BC7_UNORM_SRGB = 99, 109 | DXGI_FORMAT_FORCE_UINT = 0xffffffff 110 | } DXGI_FORMAT; 111 | 112 | #endif // __dxgiformat_h__ 113 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/DXGIType.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __dxgitype_h__ 3 | #define __dxgitype_h__ 4 | 5 | 6 | #include "dxgiformat.h" 7 | 8 | #define _FACDXGI 0x87a 9 | #define MAKE_DXGI_HRESULT(code) MAKE_HRESULT(1, _FACDXGI, code) 10 | #define MAKE_DXGI_STATUS(code) MAKE_HRESULT(0, _FACDXGI, code) 11 | 12 | #define DXGI_STATUS_OCCLUDED MAKE_DXGI_STATUS(1) 13 | #define DXGI_STATUS_CLIPPED MAKE_DXGI_STATUS(2) 14 | #define DXGI_STATUS_NO_REDIRECTION MAKE_DXGI_STATUS(4) 15 | #define DXGI_STATUS_NO_DESKTOP_ACCESS MAKE_DXGI_STATUS(5) 16 | #define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_STATUS(6) 17 | #define DXGI_STATUS_MODE_CHANGED MAKE_DXGI_STATUS(7) 18 | #define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS MAKE_DXGI_STATUS(8) 19 | 20 | 21 | #define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1) 22 | #define DXGI_ERROR_NOT_FOUND MAKE_DXGI_HRESULT(2) 23 | #define DXGI_ERROR_MORE_DATA MAKE_DXGI_HRESULT(3) 24 | #define DXGI_ERROR_UNSUPPORTED MAKE_DXGI_HRESULT(4) 25 | #define DXGI_ERROR_DEVICE_REMOVED MAKE_DXGI_HRESULT(5) 26 | #define DXGI_ERROR_DEVICE_HUNG MAKE_DXGI_HRESULT(6) 27 | #define DXGI_ERROR_DEVICE_RESET MAKE_DXGI_HRESULT(7) 28 | #define DXGI_ERROR_WAS_STILL_DRAWING MAKE_DXGI_HRESULT(10) 29 | #define DXGI_ERROR_FRAME_STATISTICS_DISJOINT MAKE_DXGI_HRESULT(11) 30 | #define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_HRESULT(12) 31 | #define DXGI_ERROR_DRIVER_INTERNAL_ERROR MAKE_DXGI_HRESULT(32) 32 | #define DXGI_ERROR_NONEXCLUSIVE MAKE_DXGI_HRESULT(33) 33 | #define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE MAKE_DXGI_HRESULT(34) 34 | #define DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED MAKE_DXGI_HRESULT(35) 35 | #define DXGI_ERROR_REMOTE_OUTOFMEMORY MAKE_DXGI_HRESULT(36) 36 | 37 | 38 | 39 | #define DXGI_CPU_ACCESS_NONE ( 0 ) 40 | #define DXGI_CPU_ACCESS_DYNAMIC ( 1 ) 41 | #define DXGI_CPU_ACCESS_READ_WRITE ( 2 ) 42 | #define DXGI_CPU_ACCESS_SCRATCH ( 3 ) 43 | #define DXGI_CPU_ACCESS_FIELD 15 44 | 45 | #define DXGI_USAGE_SHADER_INPUT ( 1L << (0 + 4) ) 46 | #define DXGI_USAGE_RENDER_TARGET_OUTPUT ( 1L << (1 + 4) ) 47 | #define DXGI_USAGE_BACK_BUFFER ( 1L << (2 + 4) ) 48 | #define DXGI_USAGE_SHARED ( 1L << (3 + 4) ) 49 | #define DXGI_USAGE_READ_ONLY ( 1L << (4 + 4) ) 50 | #define DXGI_USAGE_DISCARD_ON_PRESENT ( 1L << (5 + 4) ) 51 | #define DXGI_USAGE_UNORDERED_ACCESS ( 1L << (6 + 4) ) 52 | 53 | typedef struct DXGI_RGB 54 | { 55 | float Red; 56 | float Green; 57 | float Blue; 58 | } DXGI_RGB; 59 | 60 | typedef struct DXGI_GAMMA_CONTROL 61 | { 62 | DXGI_RGB Scale; 63 | DXGI_RGB Offset; 64 | DXGI_RGB GammaCurve[ 1025 ]; 65 | } DXGI_GAMMA_CONTROL; 66 | 67 | typedef struct DXGI_GAMMA_CONTROL_CAPABILITIES 68 | { 69 | BOOL ScaleAndOffsetSupported; 70 | float MaxConvertedValue; 71 | float MinConvertedValue; 72 | UINT NumGammaControlPoints; 73 | float ControlPointPositions[1025]; 74 | } DXGI_GAMMA_CONTROL_CAPABILITIES; 75 | 76 | typedef struct DXGI_RATIONAL 77 | { 78 | UINT Numerator; 79 | UINT Denominator; 80 | } DXGI_RATIONAL; 81 | 82 | typedef enum DXGI_MODE_SCANLINE_ORDER 83 | { 84 | DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED = 0, 85 | DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE = 1, 86 | DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST = 2, 87 | DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST = 3 88 | } DXGI_MODE_SCANLINE_ORDER; 89 | 90 | typedef enum DXGI_MODE_SCALING 91 | { 92 | DXGI_MODE_SCALING_UNSPECIFIED = 0, 93 | DXGI_MODE_SCALING_CENTERED = 1, 94 | DXGI_MODE_SCALING_STRETCHED = 2 95 | } DXGI_MODE_SCALING; 96 | 97 | typedef enum DXGI_MODE_ROTATION 98 | { 99 | DXGI_MODE_ROTATION_UNSPECIFIED = 0, 100 | DXGI_MODE_ROTATION_IDENTITY = 1, 101 | DXGI_MODE_ROTATION_ROTATE90 = 2, 102 | DXGI_MODE_ROTATION_ROTATE180 = 3, 103 | DXGI_MODE_ROTATION_ROTATE270 = 4 104 | } DXGI_MODE_ROTATION; 105 | 106 | typedef struct DXGI_MODE_DESC 107 | { 108 | UINT Width; 109 | UINT Height; 110 | DXGI_RATIONAL RefreshRate; 111 | DXGI_FORMAT Format; 112 | DXGI_MODE_SCANLINE_ORDER ScanlineOrdering; 113 | DXGI_MODE_SCALING Scaling; 114 | } DXGI_MODE_DESC; 115 | 116 | typedef struct DXGI_SAMPLE_DESC 117 | { 118 | UINT Count; 119 | UINT Quality; 120 | } DXGI_SAMPLE_DESC; 121 | 122 | #endif // __dxgitype_h__ 123 | 124 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/Dcommon.h: -------------------------------------------------------------------------------- 1 | //+-------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // Abstract: 6 | // Public API definitions for DWrite and D2D 7 | // 8 | //---------------------------------------------------------------------------- 9 | 10 | #ifndef DCOMMON_H_INCLUDED 11 | #define DCOMMON_H_INCLUDED 12 | 13 | // 14 | //These macros are defined in the Windows 7 SDK, however to enable development using the technical preview, 15 | //they are included here temporarily. 16 | // 17 | #ifndef DEFINE_ENUM_FLAG_OPERATORS 18 | #define DEFINE_ENUM_FLAG_OPERATORS(ENUMTYPE) \ 19 | extern "C++" { \ 20 | inline ENUMTYPE operator | (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a) | ((int)b)); } \ 21 | inline ENUMTYPE &operator |= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) |= ((int)b)); } \ 22 | inline ENUMTYPE operator & (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a) & ((int)b)); } \ 23 | inline ENUMTYPE &operator &= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) &= ((int)b)); } \ 24 | inline ENUMTYPE operator ~ (ENUMTYPE a) { return ENUMTYPE(~((int)a)); } \ 25 | inline ENUMTYPE operator ^ (ENUMTYPE a, ENUMTYPE b) { return ENUMTYPE(((int)a) ^ ((int)b)); } \ 26 | inline ENUMTYPE &operator ^= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((int &)a) ^= ((int)b)); } \ 27 | } 28 | #endif 29 | 30 | #ifndef __field_ecount_opt 31 | #define __field_ecount_opt(x) 32 | #endif 33 | 34 | #ifndef __range 35 | #define __range(x,y) 36 | #endif 37 | 38 | #ifndef __field_ecount 39 | #define __field_ecount(x) 40 | #endif 41 | 42 | /// 43 | /// The measuring method used for text layout. 44 | /// 45 | typedef enum DWRITE_MEASURING_MODE 46 | { 47 | /// 48 | /// Text is measured using glyph ideal metrics whose values are independent to the current display resolution. 49 | /// 50 | DWRITE_MEASURING_MODE_NATURAL, 51 | 52 | /// 53 | /// Text is measured using glyph display compatible metrics whose values tuned for the current display resolution. 54 | /// 55 | DWRITE_MEASURING_MODE_GDI_CLASSIC, 56 | 57 | /// 58 | /// Text is measured using the same glyph display metrics as text measured by GDI using a font 59 | /// created with CLEARTYPE_NATURAL_QUALITY. 60 | /// 61 | DWRITE_MEASURING_MODE_GDI_NATURAL 62 | 63 | } DWRITE_MEASURING_MODE; 64 | 65 | #endif /* DCOMMON_H_INCLUDED */ 66 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/DxErr.h: -------------------------------------------------------------------------------- 1 | /*==========================================================================; 2 | * 3 | * 4 | * File: dxerr.h 5 | * Content: DirectX Error Library Include File 6 | * 7 | ****************************************************************************/ 8 | 9 | #ifndef _DXERR_H_ 10 | #define _DXERR_H_ 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif //__cplusplus 15 | 16 | // 17 | // DXGetErrorString 18 | // 19 | // Desc: Converts a DirectX HRESULT to a string 20 | // 21 | // Args: HRESULT hr Can be any error code from 22 | // XACT XAUDIO2 XAPO XINPUT DXGI D3D10 D3DX10 D3D9 D3DX9 DDRAW DSOUND DINPUT DSHOW 23 | // 24 | // Return: Converted string 25 | // 26 | const char* WINAPI DXGetErrorStringA(__in HRESULT hr); 27 | const WCHAR* WINAPI DXGetErrorStringW(__in HRESULT hr); 28 | 29 | #ifdef UNICODE 30 | #define DXGetErrorString DXGetErrorStringW 31 | #else 32 | #define DXGetErrorString DXGetErrorStringA 33 | #endif 34 | 35 | 36 | // 37 | // DXGetErrorDescription 38 | // 39 | // Desc: Returns a string description of a DirectX HRESULT 40 | // 41 | // Args: HRESULT hr Can be any error code from 42 | // XACT XAUDIO2 XAPO XINPUT DXGI D3D10 D3DX10 D3D9 D3DX9 DDRAW DSOUND DINPUT DSHOW 43 | // 44 | // Return: String description 45 | // 46 | const char* WINAPI DXGetErrorDescriptionA(__in HRESULT hr); 47 | const WCHAR* WINAPI DXGetErrorDescriptionW(__in HRESULT hr); 48 | 49 | #ifdef UNICODE 50 | #define DXGetErrorDescription DXGetErrorDescriptionW 51 | #else 52 | #define DXGetErrorDescription DXGetErrorDescriptionA 53 | #endif 54 | 55 | 56 | // 57 | // DXTrace 58 | // 59 | // Desc: Outputs a formatted error message to the debug stream 60 | // 61 | // Args: CHAR* strFile The current file, typically passed in using the 62 | // __FILE__ macro. 63 | // DWORD dwLine The current line number, typically passed in using the 64 | // __LINE__ macro. 65 | // HRESULT hr An HRESULT that will be traced to the debug stream. 66 | // CHAR* strMsg A string that will be traced to the debug stream (may be NULL) 67 | // BOOL bPopMsgBox If TRUE, then a message box will popup also containing the passed info. 68 | // 69 | // Return: The hr that was passed in. 70 | // 71 | HRESULT WINAPI DXTraceA( __in_z const char* strFile, __in DWORD dwLine, __in HRESULT hr, __in_z_opt const char* strMsg, __in BOOL bPopMsgBox ); 72 | HRESULT WINAPI DXTraceW( __in_z const char* strFile, __in DWORD dwLine, __in HRESULT hr, __in_z_opt const WCHAR* strMsg, __in BOOL bPopMsgBox ); 73 | 74 | #ifdef UNICODE 75 | #define DXTrace DXTraceW 76 | #else 77 | #define DXTrace DXTraceA 78 | #endif 79 | 80 | 81 | // 82 | // Helper macros 83 | // 84 | #if defined(DEBUG) | defined(_DEBUG) 85 | #define DXTRACE_MSG(str) DXTrace( __FILE__, (DWORD)__LINE__, 0, str, FALSE ) 86 | #define DXTRACE_ERR(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, FALSE ) 87 | #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace( __FILE__, (DWORD)__LINE__, hr, str, TRUE ) 88 | #else 89 | #define DXTRACE_MSG(str) (0L) 90 | #define DXTRACE_ERR(str,hr) (hr) 91 | #define DXTRACE_ERR_MSGBOX(str,hr) (hr) 92 | #endif 93 | 94 | 95 | #ifdef __cplusplus 96 | } 97 | #endif //__cplusplus 98 | 99 | #endif // _DXERR_H_ 100 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/PIXPlugin.h: -------------------------------------------------------------------------------- 1 | //================================================================================================== 2 | // PIXPlugin.h 3 | // 4 | // Microsoft PIX Plugin Header 5 | // 6 | // Copyright (c) Microsoft Corporation, All rights reserved 7 | //================================================================================================== 8 | 9 | #pragma once 10 | 11 | #ifdef __cplusplus 12 | extern "C" 13 | { 14 | #endif 15 | 16 | 17 | //================================================================================================== 18 | // PIX_PLUGIN_SYSTEM_VERSION - Indicates version of the plugin interface the plugin is built with. 19 | //================================================================================================== 20 | #define PIX_PLUGIN_SYSTEM_VERSION 0x101 21 | 22 | 23 | //================================================================================================== 24 | // PIXCOUNTERID - A unique identifier for each PIX plugin counter. 25 | //================================================================================================== 26 | typedef int PIXCOUNTERID; 27 | 28 | 29 | //================================================================================================== 30 | // PIXCOUNTERDATATYPE - Indicates what type of data the counter produces. 31 | //================================================================================================== 32 | enum PIXCOUNTERDATATYPE 33 | { 34 | PCDT_RESERVED, 35 | PCDT_FLOAT, 36 | PCDT_INT, 37 | PCDT_INT64, 38 | PCDT_STRING, 39 | }; 40 | 41 | 42 | //================================================================================================== 43 | // PIXPLUGININFO - This structure is filled out by PIXGetPluginInfo and passed back to PIX. 44 | //================================================================================================== 45 | struct PIXPLUGININFO 46 | { 47 | // Filled in by caller: 48 | HINSTANCE hinst; 49 | 50 | // Filled in by PIXGetPluginInfo: 51 | WCHAR* pstrPluginName; // Name of plugin 52 | int iPluginVersion; // Version of this particular plugin 53 | int iPluginSystemVersion; // Version of PIX's plugin system this plugin was designed for 54 | }; 55 | 56 | 57 | //================================================================================================== 58 | // PIXCOUNTERINFO - This structure is filled out by PIXGetCounterInfo and passed back to PIX 59 | // to allow PIX to determine information about the counters in the plugin. 60 | //================================================================================================== 61 | struct PIXCOUNTERINFO 62 | { 63 | PIXCOUNTERID counterID; // Used to uniquely ID this counter 64 | WCHAR* pstrName; // String name of the counter 65 | PIXCOUNTERDATATYPE pcdtDataType; // Data type returned by this counter 66 | }; 67 | 68 | 69 | //================================================================================================== 70 | // PIXGetPluginInfo - This returns basic information about this plugin to PIX. 71 | //================================================================================================== 72 | BOOL WINAPI PIXGetPluginInfo( PIXPLUGININFO* pPIXPluginInfo ); 73 | 74 | 75 | //================================================================================================== 76 | // PIXGetCounterInfo - This returns an array of PIXCOUNTERINFO structs to PIX. 77 | // These PIXCOUNTERINFOs allow PIX to enumerate the counters contained 78 | // in this plugin. 79 | //================================================================================================== 80 | BOOL WINAPI PIXGetCounterInfo( DWORD* pdwReturnCounters, PIXCOUNTERINFO** ppCounterInfoList ); 81 | 82 | 83 | //================================================================================================== 84 | // PIXGetCounterDesc - This is called by PIX to request a description of the indicated counter. 85 | //================================================================================================== 86 | BOOL WINAPI PIXGetCounterDesc( PIXCOUNTERID id, WCHAR** ppstrCounterDesc ); 87 | 88 | 89 | //================================================================================================== 90 | // PIXBeginExperiment - This called by PIX once per counter when instrumentation starts. 91 | //================================================================================================== 92 | BOOL WINAPI PIXBeginExperiment( PIXCOUNTERID id, const WCHAR* pstrApplication ); 93 | 94 | 95 | //================================================================================================== 96 | // PIXEndFrame - This is called by PIX once per counter at the end of each frame to gather the 97 | // counter value for that frame. Note that the pointer to the return data must 98 | // continue to point to valid counter data until the next call to PIXEndFrame (or 99 | // PIXEndExperiment) for the same counter. So do not set *ppReturnData to the same 100 | // pointer for multiple counters, or point to a local variable that will go out of 101 | // scope. See the sample PIX plugin for an example of how to structure a plugin 102 | // properly. 103 | //================================================================================================== 104 | BOOL WINAPI PIXEndFrame( PIXCOUNTERID id, UINT iFrame, DWORD* pdwReturnBytes, BYTE** ppReturnData ); 105 | 106 | 107 | //================================================================================================== 108 | // PIXEndExperiment - This is called by PIX once per counter when instrumentation ends. 109 | //================================================================================================== 110 | BOOL WINAPI PIXEndExperiment( PIXCOUNTERID id ); 111 | 112 | 113 | #ifdef __cplusplus 114 | }; 115 | #endif 116 | 117 | //================================================================================================== 118 | // eof: PIXPlugin.h 119 | //================================================================================================== 120 | 121 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/comdecl.h: -------------------------------------------------------------------------------- 1 | // comdecl.h: Macros to facilitate COM interface and GUID declarations. 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | 4 | #ifndef _COMDECL_H_ 5 | #define _COMDECL_H_ 6 | 7 | #ifndef _XBOX 8 | #include // For standard COM interface macros 9 | #else 10 | #pragma warning(push) 11 | #pragma warning(disable:4061) 12 | #include // Required by xobjbase.h 13 | #include // Special definitions for Xbox build 14 | #pragma warning(pop) 15 | #endif 16 | 17 | // The DEFINE_CLSID() and DEFINE_IID() macros defined below allow COM GUIDs to 18 | // be declared and defined in such a way that clients can obtain the GUIDs using 19 | // either the __uuidof() extension or the old-style CLSID_Foo / IID_IFoo names. 20 | // If using the latter approach, the client can also choose whether to get the 21 | // GUID definitions by defining the INITGUID preprocessor constant or by linking 22 | // to a GUID library. This works in either C or C++. 23 | 24 | #ifdef __cplusplus 25 | 26 | #define DECLSPEC_UUID_WRAPPER(x) __declspec(uuid(#x)) 27 | #ifdef INITGUID 28 | 29 | #define DEFINE_CLSID(className, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 30 | class DECLSPEC_UUID_WRAPPER(l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8) className; \ 31 | EXTERN_C const GUID DECLSPEC_SELECTANY CLSID_##className = __uuidof(className) 32 | 33 | #define DEFINE_IID(interfaceName, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 34 | interface DECLSPEC_UUID_WRAPPER(l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8) interfaceName; \ 35 | EXTERN_C const GUID DECLSPEC_SELECTANY IID_##interfaceName = __uuidof(interfaceName) 36 | 37 | #else // INITGUID 38 | 39 | #define DEFINE_CLSID(className, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 40 | class DECLSPEC_UUID_WRAPPER(l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8) className; \ 41 | EXTERN_C const GUID CLSID_##className 42 | 43 | #define DEFINE_IID(interfaceName, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 44 | interface DECLSPEC_UUID_WRAPPER(l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8) interfaceName; \ 45 | EXTERN_C const GUID IID_##interfaceName 46 | 47 | #endif // INITGUID 48 | 49 | #else // __cplusplus 50 | 51 | #define DEFINE_CLSID(className, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 52 | DEFINE_GUID(CLSID_##className, 0x##l, 0x##w1, 0x##w2, 0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8) 53 | 54 | #define DEFINE_IID(interfaceName, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ 55 | DEFINE_GUID(IID_##interfaceName, 0x##l, 0x##w1, 0x##w2, 0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8) 56 | 57 | #endif // __cplusplus 58 | 59 | #endif // #ifndef _COMDECL_H_ 60 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/d3d10misc.h: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // File: D3D10Misc.h 6 | // Content: D3D10 Device Creation APIs 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef __D3D10MISC_H__ 11 | #define __D3D10MISC_H__ 12 | 13 | #include "d3d10.h" 14 | 15 | // ID3D10Blob has been made version-neutral and moved to d3dcommon.h. 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif //__cplusplus 20 | 21 | /////////////////////////////////////////////////////////////////////////// 22 | // D3D10_DRIVER_TYPE 23 | // ---------------- 24 | // 25 | // This identifier is used to determine the implementation of Direct3D10 26 | // to be used. 27 | // 28 | // Pass one of these values to D3D10CreateDevice 29 | // 30 | /////////////////////////////////////////////////////////////////////////// 31 | typedef enum D3D10_DRIVER_TYPE 32 | { 33 | D3D10_DRIVER_TYPE_HARDWARE = 0, 34 | D3D10_DRIVER_TYPE_REFERENCE = 1, 35 | D3D10_DRIVER_TYPE_NULL = 2, 36 | D3D10_DRIVER_TYPE_SOFTWARE = 3, 37 | D3D10_DRIVER_TYPE_WARP = 5, 38 | } D3D10_DRIVER_TYPE; 39 | 40 | DEFINE_GUID(GUID_DeviceType, 41 | 0xd722fb4d, 0x7a68, 0x437a, 0xb2, 0x0c, 0x58, 0x04, 0xee, 0x24, 0x94, 0xa6); 42 | 43 | /////////////////////////////////////////////////////////////////////////// 44 | // D3D10CreateDevice 45 | // ------------------ 46 | // 47 | // pAdapter 48 | // If NULL, D3D10CreateDevice will choose the primary adapter and 49 | // create a new instance from a temporarily created IDXGIFactory. 50 | // If non-NULL, D3D10CreateDevice will register the appropriate 51 | // device, if necessary (via IDXGIAdapter::RegisterDrver), before 52 | // creating the device. 53 | // DriverType 54 | // Specifies the driver type to be created: hardware, reference or 55 | // null. 56 | // Software 57 | // HMODULE of a DLL implementing a software rasterizer. Must be NULL for 58 | // non-Software driver types. 59 | // Flags 60 | // Any of those documented for D3D10CreateDevice. 61 | // SDKVersion 62 | // SDK version. Use the D3D10_SDK_VERSION macro. 63 | // ppDevice 64 | // Pointer to returned interface. 65 | // 66 | // Return Values 67 | // Any of those documented for 68 | // CreateDXGIFactory 69 | // IDXGIFactory::EnumAdapters 70 | // IDXGIAdapter::RegisterDriver 71 | // D3D10CreateDevice 72 | // 73 | /////////////////////////////////////////////////////////////////////////// 74 | HRESULT WINAPI D3D10CreateDevice( 75 | IDXGIAdapter *pAdapter, 76 | D3D10_DRIVER_TYPE DriverType, 77 | HMODULE Software, 78 | UINT Flags, 79 | UINT SDKVersion, 80 | ID3D10Device **ppDevice); 81 | 82 | /////////////////////////////////////////////////////////////////////////// 83 | // D3D10CreateDeviceAndSwapChain 84 | // ------------------------------ 85 | // 86 | // ppAdapter 87 | // If NULL, D3D10CreateDevice will choose the primary adapter and 88 | // create a new instance from a temporarily created IDXGIFactory. 89 | // If non-NULL, D3D10CreateDevice will register the appropriate 90 | // device, if necessary (via IDXGIAdapter::RegisterDrver), before 91 | // creating the device. 92 | // DriverType 93 | // Specifies the driver type to be created: hardware, reference or 94 | // null. 95 | // Software 96 | // HMODULE of a DLL implementing a software rasterizer. Must be NULL for 97 | // non-Software driver types. 98 | // Flags 99 | // Any of those documented for D3D10CreateDevice. 100 | // SDKVersion 101 | // SDK version. Use the D3D10_SDK_VERSION macro. 102 | // pSwapChainDesc 103 | // Swap chain description, may be NULL. 104 | // ppSwapChain 105 | // Pointer to returned interface. May be NULL. 106 | // ppDevice 107 | // Pointer to returned interface. 108 | // 109 | // Return Values 110 | // Any of those documented for 111 | // CreateDXGIFactory 112 | // IDXGIFactory::EnumAdapters 113 | // IDXGIAdapter::RegisterDriver 114 | // D3D10CreateDevice 115 | // IDXGIFactory::CreateSwapChain 116 | // 117 | /////////////////////////////////////////////////////////////////////////// 118 | HRESULT WINAPI D3D10CreateDeviceAndSwapChain( 119 | IDXGIAdapter *pAdapter, 120 | D3D10_DRIVER_TYPE DriverType, 121 | HMODULE Software, 122 | UINT Flags, 123 | UINT SDKVersion, 124 | DXGI_SWAP_CHAIN_DESC *pSwapChainDesc, 125 | IDXGISwapChain **ppSwapChain, 126 | ID3D10Device **ppDevice); 127 | 128 | 129 | /////////////////////////////////////////////////////////////////////////// 130 | // D3D10CreateBlob: 131 | // ----------------- 132 | // Creates a Buffer of n Bytes 133 | ////////////////////////////////////////////////////////////////////////// 134 | 135 | HRESULT WINAPI D3D10CreateBlob(SIZE_T NumBytes, LPD3D10BLOB *ppBuffer); 136 | 137 | #ifdef __cplusplus 138 | } 139 | #endif //__cplusplus 140 | 141 | #endif //__D3D10EFFECT_H__ 142 | 143 | 144 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/d3dx9.h: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Copyright (C) Microsoft Corporation. All Rights Reserved. 4 | // 5 | // File: d3dx9.h 6 | // Content: D3DX utility library 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifdef __D3DX_INTERNAL__ 11 | #error Incorrect D3DX header used 12 | #endif 13 | 14 | #ifndef __D3DX9_H__ 15 | #define __D3DX9_H__ 16 | 17 | 18 | // Defines 19 | #include 20 | 21 | #define D3DX_DEFAULT ((UINT) -1) 22 | #define D3DX_DEFAULT_NONPOW2 ((UINT) -2) 23 | #define D3DX_DEFAULT_FLOAT FLT_MAX 24 | #define D3DX_FROM_FILE ((UINT) -3) 25 | #define D3DFMT_FROM_FILE ((D3DFORMAT) -3) 26 | 27 | #ifndef D3DXINLINE 28 | #ifdef _MSC_VER 29 | #if (_MSC_VER >= 1200) 30 | #define D3DXINLINE __forceinline 31 | #else 32 | #define D3DXINLINE __inline 33 | #endif 34 | #else 35 | #ifdef __cplusplus 36 | #define D3DXINLINE inline 37 | #else 38 | #define D3DXINLINE 39 | #endif 40 | #endif 41 | #endif 42 | 43 | 44 | 45 | // Includes 46 | #include "d3d9.h" 47 | #include "d3dx9math.h" 48 | #include "d3dx9core.h" 49 | #include "d3dx9xof.h" 50 | #include "d3dx9mesh.h" 51 | #include "d3dx9shader.h" 52 | #include "d3dx9effect.h" 53 | 54 | #include "d3dx9tex.h" 55 | #include "d3dx9shape.h" 56 | #include "d3dx9anim.h" 57 | 58 | 59 | 60 | // Errors 61 | #define _FACDD 0x876 62 | #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) 63 | 64 | enum _D3DXERR { 65 | D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900), 66 | D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901), 67 | D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902), 68 | D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903), 69 | D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904), 70 | D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905), 71 | D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906), 72 | D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907), 73 | D3DXERR_CANNOTREMOVELASTITEM = MAKE_DDHRESULT(2908), 74 | }; 75 | 76 | 77 | #endif //__D3DX9_H__ 78 | 79 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Include/dxsdkver.h: -------------------------------------------------------------------------------- 1 | /*==========================================================================; 2 | * 3 | * 4 | * File: dxsdkver.h 5 | * Content: DirectX SDK Version Include File 6 | * 7 | ****************************************************************************/ 8 | 9 | #ifndef _DXSDKVER_H_ 10 | #define _DXSDKVER_H_ 11 | 12 | #define _DXSDK_PRODUCT_MAJOR 9 13 | #define _DXSDK_PRODUCT_MINOR 29 14 | #define _DXSDK_BUILD_MAJOR 1962 15 | #define _DXSDK_BUILD_MINOR 0 16 | 17 | #endif // _DXSDKVER_H_ 18 | 19 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/D3DCSX.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/D3DCSX.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/D3DCSXd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/D3DCSXd.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/DxErr.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/DxErr.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/X3DAudio.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/X3DAudio.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/XAPOFX.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/XAPOFX.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/XInput.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/XInput.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d2d1.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d2d1.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d10.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d10.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d10_1.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d10_1.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d11.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d11.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3d9.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dcompiler.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dcompiler.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx10.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx10.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx10d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx10d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx11.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx11.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx11d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx11d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx9.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx9d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dx9d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dxof.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/d3dxof.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dinput8.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dinput8.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dsound.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dsound.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dwrite.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dwrite.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dxgi.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dxgi.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/dxguid.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/xapobase.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/xapobase.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/xapobased.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x64/xapobased.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/D3DCSX.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/D3DCSX.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/D3DCSXd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/D3DCSXd.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/DxErr.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/DxErr.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/X3DAudio.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/X3DAudio.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/XAPOFX.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/XAPOFX.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/XInput.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/XInput.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d2d1.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d2d1.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d10.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d10.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d10_1.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d10_1.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d11.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d11.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3d9.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dcompiler.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dcompiler.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx10.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx10.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx10d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx10d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx11.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx11.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx11d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx11d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx9.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx9d.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dx9d.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dxof.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/d3dxof.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dinput8.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dinput8.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dsetup.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dsetup.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dsound.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dsound.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dwrite.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dwrite.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dxgi.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dxgi.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/dxguid.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/xapobase.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/xapobase.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/xapobased.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/aero-overlay/contrib/DirectX-SDK/Lib/x86/xapobased.lib -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/contrib/DirectX-SDK/README.md: -------------------------------------------------------------------------------- 1 | This Is Include Folder Of Direct X 2 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/Esp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | class Esp{ 4 | public: 5 | Esp(); 6 | ~Esp(); 7 | 8 | DWORD viewWordBase; 9 | DWORD uWorld; 10 | DWORD gNames; 11 | BYTE ShellCode[96] = { 0x89, 0x15, 0x00, 0x00, 0x00, 0x00, //mov DWORD PTR ds:0x0,edx 12 | 0x8B, 0x55, 0x34, //mov edx,DWORD PTR [ebp+0x34] 13 | 0xA2, 0x00, 0x00, 0x00, 0x00, //mov ds:0x0,al 14 | 0x8A, 0x82, 0xE0, 0xFD, 0xFF, 0xFF, //mov al,BYTE PTR [edx-0x220] 15 | 0xA2, 0x00, 0x00, 0x00, 0x00, //mov ds:0x0,al 16 | 0x8A, 0x82, 0xE1, 0xFD, 0xFF, 0xFF, //mov al,BYTE PTR [edx-0x21f] 17 | 0xA2, 0x00, 0x00, 0x00, 0x00, //mov ds:0x0,al 18 | 0xA0, 0x00, 0x00, 0x00, 0x00, //mov al,ds:0x0 19 | 0x81, 0x3D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //cmp DWORD PTR ds:0x0,0x0 20 | 0x74, 0x0E, //je 0x43 21 | 0x8B, 0x15, 0x00, 0x00, 0x00, 0x00, //mov edx,DWORD PTR ds:0x0 22 | 0xC7, 0x45, 0x68, 0x00, 0x00, 0x00, 0x00, //mov DWORD PTR [ebp+0x68],0x0 23 | 0xC3, //ret 24 | 0x81, 0x3D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //cmp DWORD PTR ds:0x0,0x0 25 | 0x74, 0x02, //je 0x51 26 | 0xEB, 0xE4, //jmp 0x35 27 | 0xC7, 0x02, 0x00, 0x00, 0x00, 0x00, //mov DWORD PTR [edx],0x0 28 | 0xC7, 0x42, 0x04, 0x00, 0x00, 0x00, 0x00, //mov DWORD PTR [edx+0x4],0x0 29 | 0xEB, 0xD5 //jmp 0x35 30 | }; 31 | BYTE realCode[7]; 32 | DWORD MagicBulletHook = NULL; 33 | uintptr_t modBaseAddr = 0, modSize = 0; 34 | DWORD boostAddv; 35 | bool boostactivated = false; 36 | std::vector playerdata,playerdatar; 37 | std::vector itemdata, itemdatar; 38 | std::vector vehicledata, vehicledatar; 39 | std::vector lootbox, lootboxr; 40 | std::vector boomalert, boomalertr; 41 | std::vector impitem, impitemr; 42 | std::vector MagicBulletList,NoRecoilList; 43 | D3DMatrix vt; 44 | Item tempb,itm; 45 | Vehicle vhi; 46 | Lootbox lbox; 47 | DWORD uWorlds, uLevel, gameInstance, playerController, playerCarry, uMyObject, MyWorld, entityEntry, entityCount, viewMatrixAddr; 48 | int status; 49 | DWORD entityAddv, entityStruct, playerWorld; 50 | std::string imptm, entityType, name, alert, vehicle,boxitem; 51 | Vector3 enpos,mypos, MyVelocity; 52 | int iGet(DWORD base); 53 | float fGet(DWORD base); 54 | DWORD dGet(DWORD base); 55 | DWORD ipad = 0; 56 | void ipadview(); 57 | void initmymagic(); 58 | void HookCall(DWORD HookAddr, DWORD CallAddr); 59 | bool areEqual(BYTE cmp1[], BYTE cmp2[],int size); 60 | bool HookMagic(float x, float y); 61 | void initBoost(); 62 | void GetMagic(); 63 | void Dump(DWORD adds,int size); 64 | void update(bool allitems = true, bool vichlesp = true,bool lboxshow = true,bool impitm = true); 65 | void init(); 66 | Vector2 GetMagicCoord(Vector3 aim, Vector3 myPos); 67 | void GetModuleBaseAddress(DWORD procId, char * modName); 68 | void initMagic(); 69 | void GetNorecoil(); 70 | DWORD getViewWorld(); 71 | 72 | }; 73 | 74 | 75 | extern Esp* g_pEsp; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/MemoryManager.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | 4 | MemoryManager* g_pMemoryManager = new MemoryManager(); 5 | 6 | 7 | MemoryManager::MemoryManager(){} 8 | 9 | 10 | MemoryManager::~MemoryManager(){} 11 | 12 | FTTransform2_t MemoryManager::ReadFTransform2(DWORD vAddv) { 13 | return Driver.ReadVirtualMemory(processId,vAddv,sizeof(FTTransform2_t)); 14 | } 15 | void MemoryManager::init(int pid, bool debug){ 16 | 17 | // Find AOW Process Id 18 | int threadCount = 0; 19 | processId = pid; 20 | if(!processId){ 21 | if(debug){ 22 | std::cout << termcolor::red << "SmartGaga Process Id Not Found. Searching For Process... \n" << termcolor::reset; 23 | } 24 | HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 25 | PROCESSENTRY32 pe; 26 | pe.dwSize = sizeof(PROCESSENTRY32); 27 | Process32First(hSnap, &pe); 28 | while(Process32Next(hSnap, &pe)){ 29 | if(_tcsicmp(pe.szExeFile, _T("aow_exe.exe")) == 0){ 30 | if(pe.cntThreads > threadCount){ 31 | threadCount = pe.cntThreads; pid = pe.th32ProcessID; 32 | } 33 | } 34 | } 35 | processId = pid; 36 | } 37 | if(debug){ 38 | std::cout << termcolor::blue << "PID : " << termcolor::green << pid << " \n" << termcolor::reset; 39 | } 40 | DriverLoaded = Driver.hDriver > 0 ? true : false; 41 | 42 | if(processId){ 43 | // Get process handle 44 | processHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, processId); 45 | if(debug){ 46 | std::cout << termcolor::blue << "HWND : " << termcolor::green << std::hex << (int)processHandle << std::dec << " \n" << termcolor::reset; 47 | } 48 | if(processHandle){ 49 | allIsWell = true; 50 | } 51 | } else{ 52 | if(debug){ 53 | std::cout << termcolor::red << "Gameloop Process Id Not Found. Make Shoure gameloop is Open and game is Running.\n" << termcolor::reset; 54 | } 55 | } 56 | 57 | } 58 | 59 | void MemoryManager::readMemory(PVOID BaseAddress, PVOID Buffer, SIZE_T BufferSize) { 60 | 61 | Driver.ReadSpecial(processId, (DWORD)BaseAddress, Buffer, BufferSize); 62 | } 63 | 64 | bool MemoryManager::search(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet) { 65 | 66 | MEMORY_BASIC_INFORMATION mbi; 67 | std::vector m_vMemoryRegion; 68 | mbi.RegionSize = 0x400; 69 | DWORD dwAddress = dwStartAddr; 70 | 71 | MEMORY_REGION memSectorList[1000]; 72 | 73 | int memSectorIndex = 0; 74 | while (VirtualQueryEx(processHandle, (LPCVOID)dwAddress, &mbi, sizeof(mbi)) && (dwAddress < dwEndAddr) && ((dwAddress + mbi.RegionSize) > dwAddress)) { 75 | if ( 76 | (mbi.State == MEM_COMMIT) && 77 | ((mbi.Protect & PAGE_GUARD) == 0) && 78 | (mbi.Protect != PAGE_NOACCESS) && 79 | ((mbi.AllocationProtect & PAGE_NOCACHE) != PAGE_NOCACHE) 80 | ) { 81 | MEMORY_REGION mData = { 0 }; 82 | try { 83 | mData.dwBaseAddr = (DWORD_PTR)mbi.BaseAddress; 84 | mData.dwMemorySize = mbi.RegionSize; 85 | m_vMemoryRegion.push_back(mData); 86 | memSectorList[memSectorIndex] = mData; 87 | } 88 | catch(std::exception ex) 89 | { } 90 | memSectorIndex++; 91 | } 92 | dwAddress = (DWORD)mbi.BaseAddress + mbi.RegionSize; 93 | } 94 | 95 | std::vector::iterator it; 96 | //for(it = m_vMemoryRegion.begin(); it != m_vMemoryRegion.end(); it++){ 97 | int memSectorCount = memSectorIndex; 98 | memSectorIndex = 0; 99 | DWORD_PTR curAddr = dwStartAddr; 100 | while (curAddr < dwEndAddr) { 101 | VirtualQueryEx(processHandle, (LPCVOID)curAddr, &mbi, sizeof(mbi)); 102 | long regionSizeOrg = mbi.RegionSize; 103 | long regionSize = mbi.RegionSize; 104 | if (regionSize > 10) { 105 | BYTE* pCurrMemoryData = new BYTE[regionSize]; 106 | //Driver.ReadSpecial(processId, curAddr, &pCurrMemoryData, regionSize); 107 | //readMemory((PVOID)curAddr, (PVOID*)pCurrMemoryData, regionSize); 108 | /*for (long p = 0; p < regionSize; p++) 109 | { 110 | pCurrMemoryData[p] = Driver.ReadVirtualMemory(processId, curAddr + p, sizeof(BYTE)); 111 | }*/ 112 | Driver.RVM(processId, curAddr, *pCurrMemoryData, regionSize); 113 | DWORD_PTR dwOffset = 0; 114 | int iOffset = find(pCurrMemoryData, regionSize, bSearchData, nSearchSize); 115 | while (iOffset != -1) { 116 | dwOffset += iOffset; 117 | vRet.push_back(dwOffset + curAddr); 118 | dwOffset += nSearchSize; 119 | iOffset = find(pCurrMemoryData + dwOffset, regionSize - dwOffset - nSearchSize, bSearchData, nSearchSize); 120 | } 121 | delete[] pCurrMemoryData; 122 | } 123 | memSectorIndex++; 124 | curAddr = curAddr + (DWORD_PTR)regionSizeOrg; 125 | continue; 126 | } 127 | return TRUE; 128 | } 129 | 130 | 131 | int MemoryManager::find(BYTE* buffer, int dwBufferSize, BYTE* bstr, DWORD dwStrLen) { 132 | if (dwBufferSize < 0) { 133 | return -1; 134 | } 135 | DWORD i, j; 136 | for (i = 0; i < dwBufferSize; i++) { 137 | for (j = 0; j < dwStrLen; j++) { 138 | if (buffer[i + j] != bstr[j]) 139 | if(bstr[j] != '?') 140 | break; 141 | } 142 | if (j == dwStrLen) 143 | return i; 144 | } 145 | return -1; 146 | } 147 | 148 | 149 | DWORD MemoryManager::dRead(DWORD base){ 150 | return Driver.ReadVirtualMemory(processId, base, sizeof(int)); 151 | } 152 | 153 | float MemoryManager::fRead(DWORD base){ 154 | return Driver.ReadVirtualMemory(processId, base, sizeof(float)); 155 | } 156 | int MemoryManager::iRead(DWORD base){ 157 | return Driver.ReadVirtualMemory(processId, base, sizeof(int)); 158 | } -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/MemoryManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | #include "Utilities.h" 4 | #include "kernelinterface.hpp" 5 | #include 6 | 7 | #define MM_DEVICE_TYPE 0x9999 8 | #define MM_CTL_CODE(x) CTL_CODE(MM_DEVICE_TYPE, 0x800 + x, METHOD_NEITHER, FILE_ANY_ACCESS) 9 | #define MM_READVIRTUALMEMORY MM_CTL_CODE(56) 10 | 11 | typedef struct _MEMORY_REGION{ 12 | DWORD_PTR dwBaseAddr; 13 | DWORD_PTR dwMemorySize; 14 | }MEMORY_REGION; 15 | 16 | class MemoryManager{ 17 | public: 18 | MemoryManager(); 19 | ~MemoryManager(); 20 | 21 | 22 | HANDLE m_hDriver = nullptr; 23 | HANDLE processHandle; 24 | int processId = 0; 25 | bool allIsWell = false; 26 | bool DriverLoaded = false; 27 | PSIZE_T NumberOfBytes = nullptr; 28 | KeInterface Driver = KeInterface("\\\\.\\sametha"); 29 | 30 | FTTransform2_t ReadFTransform2(DWORD vAddv); 31 | void init(int pid, bool debug); 32 | 33 | DWORD dRead(DWORD base); 34 | float fRead(DWORD base); 35 | int iRead(DWORD base); 36 | int find(BYTE* buffer, int dwBufferSize, BYTE* bstr, DWORD dwStrLen); 37 | template type RVM(DWORD ReadAddress, SIZE_T Size); 38 | void readMemory(PVOID BaseAddress, PVOID Buffer, SIZE_T BufferSize); 39 | bool search(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet); 40 | bool MemSearch(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet); 41 | }; 42 | 43 | 44 | extern MemoryManager* g_pMemoryManager; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/ProcManager.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | 4 | ProcManager::ProcManager(){} 5 | 6 | 7 | ProcManager::~ProcManager(){} 8 | 9 | 10 | int ProcManager::getAowProcID(){ 11 | int pid = 0; 12 | int threadCount = 0; 13 | HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 14 | PROCESSENTRY32 pe; 15 | pe.dwSize = sizeof(PROCESSENTRY32); 16 | Process32First(hSnap, &pe); 17 | while(Process32Next(hSnap, &pe)){ 18 | if(_tcsicmp(pe.szExeFile, _T("aow_exe.exe")) == 0){ 19 | if((int)pe.cntThreads > threadCount){ 20 | threadCount = pe.cntThreads; 21 | pid = pe.th32ProcessID; 22 | } 23 | } 24 | } 25 | 26 | return pid; 27 | } -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/ProcManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | 4 | 5 | class ProcManager{ 6 | public: 7 | ProcManager(); 8 | ~ProcManager(); 9 | static int getAowProcID(); 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/Utilities.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | #include "kernelinterface.hpp" 5 | // Vectors 6 | 7 | extern class Vector2 { 8 | public: 9 | float x = 0; 10 | float y = 0; 11 | }; 12 | extern class Vector3 { 13 | public: 14 | float x = 0; 15 | float y = 0; 16 | float z = 0; 17 | }; 18 | extern class Result 19 | { 20 | public: 21 | bool hasResult=false; 22 | float a=0; 23 | float b=0; 24 | }; 25 | extern class Vector4 { 26 | public: 27 | float x = 0; 28 | float y = 0; 29 | float z = 0; 30 | float w = 0; 31 | }; 32 | extern class VectorRect { 33 | public: 34 | int x = 0; 35 | int y = 0; 36 | int w = 0; 37 | int h = 0; 38 | }; 39 | 40 | // its for Player Inventory Box Item 41 | struct Item { 42 | std::string displayName; 43 | Vector3 Position; 44 | int picid; 45 | }; 46 | struct Vehicle { 47 | std::string displayName; 48 | Vector3 Position; 49 | int picid; 50 | }; 51 | // its for entity player weapon details 52 | extern struct playerWeapon { 53 | int ammoCur = 0,itmid = 0; 54 | std::string displayName = ""; 55 | }; 56 | // its for world to screen 57 | extern struct D3DMatrix { 58 | float _11, _12, _13, _14; 59 | float _21, _22, _23, _24; 60 | float _31, _32, _33, _34; 61 | float _41, _42, _43, _44; 62 | }; 63 | extern struct FTTransform2_t { 64 | Vector4 Rotation; 65 | Vector3 Translation; 66 | float ddd; 67 | Vector3 Scale3D; 68 | }; 69 | class Utilities 70 | { 71 | public : 72 | static bool IsPlayer(std::string str); 73 | static Vector3 Readvector3(KeInterface drv, DWORD adds, DWORD ProcessId); 74 | static std::string GetBoxItemByboth(DWORD code, std::string classname); 75 | static std::string GetVehicleType(std::string str); 76 | static std::string GetGrenadeType(std::string classname); 77 | static bool IsBox(std::string classname); 78 | static std::string GetImpItem(DWORD code,std::string classname); 79 | static int GetNameByIDSprite(DWORD id, std::string classname); 80 | }; 81 | struct Itemb { 82 | std::string Displayname; 83 | }; 84 | struct Lootbox { 85 | Vector3 Position; 86 | std::vector boxitem; 87 | }; 88 | struct playerData 89 | { 90 | DWORD Address,Pose; 91 | Vector3 Position,velocity; 92 | int Status, TeamID, Health; 93 | bool IsRobot; 94 | std::string Name, Type; 95 | float energy; 96 | playerWeapon playerW1, playerW2; 97 | }; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/communications.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | /* IOCTL Codes needed for our driver */ 6 | 7 | // Request to read virtual user memory (memory of a program) from kernel space 8 | #define IO_READ_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0666 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 9 | 10 | // Request to write virtual user memory (memory of a program) from kernel space 11 | #define IO_WRITE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0667 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 12 | 13 | // Request to retrieve the process id of csgo process, from kernel space 14 | #define IO_GET_ID_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0668 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 15 | 16 | // Request to retrieve the base address of client.dll in csgo.exe from kernel space 17 | #define IO_GET_MODULE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0669 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 18 | 19 | //alloc req 20 | #define ioctl_allocate_virtual_memory CTL_CODE(FILE_DEVICE_UNKNOWN, 0x812, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 21 | 22 | // Request to retrieve the base address of engine.dll in csgo.exe from kernel space 23 | #define IO_GET_ENGINE_MODULE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0670 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 24 | 25 | // Request size of Client.dll 26 | #define IO_GET_MODULE_REQUEST_LENGTH CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0671 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 27 | 28 | // Request size of Engine.dll 29 | #define IO_GET_ENGINE_MODULE_REQUEST_LENGTH CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0672 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 30 | 31 | // Order driver to apply full protection on Controller 32 | #define IO_PROTECT_CONTROLLER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0673 /* Our Custom Code */, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) 33 | 34 | // Order driver to apply full protection on RankReader 35 | #define IO_PROTECT_RANKREADER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0674 /* Our Custom Code */, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) 36 | 37 | typedef struct _k_alloc_mem_request { 38 | ULONG pid, allocation_type, protect; 39 | ULONGLONG addr; 40 | SIZE_T size; 41 | } k_alloc_mem_request, * pk_alloc_mem_request; 42 | 43 | typedef struct _k_rw_request { 44 | ULONG pid; 45 | ULONGLONG src; 46 | ULONGLONG dst; 47 | ULONGLONG size; 48 | } k_rw_request, * pk_rw_request; 49 | 50 | typedef struct _KERNEL_READ_REQUEST 51 | { 52 | ULONG ProcessId; 53 | 54 | ULONG Address; 55 | PVOID pBuff; 56 | ULONG Size; 57 | 58 | } KERNEL_READ_REQUEST, * PKERNEL_READ_REQUEST; 59 | 60 | typedef struct _KERNEL_WRITE_REQUEST 61 | { 62 | ULONG ProcessId; 63 | 64 | ULONG Address; 65 | PVOID pBuff; 66 | ULONG Size; 67 | 68 | } KERNEL_WRITE_REQUEST, * PKERNEL_WRITE_REQUEST; 69 | 70 | 71 | typedef struct _RTL_PROCESS_MODULE_INFORMATION 72 | { 73 | HANDLE Section; 74 | PVOID MappedBase; 75 | PVOID ImageBase; 76 | ULONG ImageSize; 77 | ULONG Flags; 78 | USHORT LoadOrderIndex; 79 | USHORT InitOrderIndex; 80 | USHORT LoadCount; 81 | USHORT OffsetToFileName; 82 | UCHAR FullPathName[256]; 83 | } RTL_PROCESS_MODULE_INFORMATION, * PRTL_PROCESS_MODULE_INFORMATION; 84 | 85 | typedef struct _RTL_PROCESS_MODULES 86 | { 87 | ULONG NumberOfModules; 88 | RTL_PROCESS_MODULE_INFORMATION Modules[1]; 89 | } RTL_PROCESS_MODULES, * PRTL_PROCESS_MODULES; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/kernelinterface.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #pragma warning( disable : 4101 4244) 3 | 4 | #include "communications.hpp" 5 | 6 | // The interface handler for IOCTL. Thanks Zeromem. 7 | class KeInterface 8 | { 9 | 10 | public: 11 | HANDLE hDriver; // Handle to driver 12 | 13 | // Initializer 14 | KeInterface(LPCSTR RegistryPath) 15 | { 16 | hDriver = CreateFileA(RegistryPath, GENERIC_READ | GENERIC_WRITE, 17 | FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0); 18 | } 19 | 20 | bool RVM(ULONG ProcessId, ULONG ReadAddress, BYTE &Buffer, long Size) 21 | { 22 | // allocate a buffer with specified type to allow our driver to write our wanted data inside this buffer 23 | 24 | DWORD Return, Bytes; 25 | KERNEL_READ_REQUEST ReadRequest; 26 | 27 | 28 | ReadRequest.ProcessId = ProcessId; 29 | ReadRequest.Address = ReadAddress; 30 | 31 | //send the 'address' of the buffer so our driver can know where to write the data 32 | ReadRequest.pBuff = &Buffer; 33 | 34 | ReadRequest.Size = Size; 35 | 36 | // send code to our driver with the arguments 37 | if (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0)) 38 | { 39 | //return our buffer 40 | return true; 41 | } 42 | return false; 43 | } 44 | 45 | template 46 | type ReadVirtualMemory(ULONG ProcessId, ULONG ReadAddress, SIZE_T Size) 47 | { 48 | // allocate a buffer with specified type to allow our driver to write our wanted data inside this buffer 49 | type Buffer; 50 | 51 | DWORD Return, Bytes; 52 | KERNEL_READ_REQUEST ReadRequest; 53 | 54 | 55 | ReadRequest.ProcessId = ProcessId; 56 | ReadRequest.Address = ReadAddress; 57 | 58 | //send the 'address' of the buffer so our driver can know where to write the data 59 | ReadRequest.pBuff = &Buffer; 60 | 61 | ReadRequest.Size = Size; 62 | 63 | // send code to our driver with the arguments 64 | if (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0)) 65 | { 66 | //return our buffer 67 | return Buffer; 68 | } 69 | return Buffer; 70 | } 71 | 72 | template 73 | bool WriteVirtualMemory(ULONG ProcessId, ULONG WriteAddress, type WriteValue, SIZE_T WriteSize) 74 | { 75 | if (hDriver == INVALID_HANDLE_VALUE) 76 | return false; 77 | DWORD Bytes; 78 | 79 | KERNEL_WRITE_REQUEST WriteRequest; 80 | WriteRequest.ProcessId = ProcessId; 81 | WriteRequest.Address = WriteAddress; 82 | 83 | //send driver the 'address' of our specified type WriteValue so our driver can copy the data we want to write from this address to WriteAddress 84 | WriteRequest.pBuff = &WriteValue; 85 | 86 | WriteRequest.Size = WriteSize; 87 | 88 | if (DeviceIoControl(hDriver, IO_WRITE_REQUEST, &WriteRequest, sizeof(WriteRequest), 0, 0, &Bytes, NULL)) 89 | { 90 | return true; 91 | } 92 | return false; 93 | } 94 | 95 | bool ReadSpecial(ULONG ProcessId, DWORD dwAddress, LPVOID lpBuffer, DWORD dwSize) 96 | { 97 | SIZE_T Out = NULL; 98 | 99 | KERNEL_READ_REQUEST ReadRequest; 100 | 101 | ReadRequest.ProcessId = ProcessId; 102 | ReadRequest.Address = dwAddress; 103 | 104 | ReadRequest.pBuff = &lpBuffer; 105 | 106 | ReadRequest.Size = dwSize; 107 | 108 | return (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0) == TRUE); 109 | } 110 | 111 | DWORD GetTargetPid() 112 | { 113 | if (hDriver == INVALID_HANDLE_VALUE) 114 | return false; 115 | 116 | ULONG Id; 117 | DWORD Bytes; 118 | 119 | if (DeviceIoControl(hDriver, IO_GET_ID_REQUEST, &Id, sizeof(Id), 120 | &Id, sizeof(Id), &Bytes, NULL)) 121 | { 122 | return Id; 123 | } 124 | 125 | return false; 126 | } 127 | 128 | DWORD GetClientModule() 129 | { 130 | if (hDriver == INVALID_HANDLE_VALUE) 131 | return false; 132 | 133 | ULONG Address; 134 | DWORD Bytes; 135 | 136 | if (DeviceIoControl(hDriver, IO_GET_MODULE_REQUEST, &Address, sizeof(Address), 137 | &Address, sizeof(Address), &Bytes, NULL)) 138 | { 139 | return Address; 140 | } 141 | return false; 142 | } 143 | 144 | DWORD GetClientModuleSize() 145 | { 146 | if (hDriver == INVALID_HANDLE_VALUE) 147 | return false; 148 | 149 | ULONG Address; 150 | DWORD Bytes; 151 | 152 | if (DeviceIoControl(hDriver, IO_GET_MODULE_REQUEST_LENGTH, &Address, sizeof(Address), 153 | &Address, sizeof(Address), &Bytes, NULL)) 154 | { 155 | return Address; 156 | } 157 | return false; 158 | } 159 | 160 | 161 | DWORD GetEngineModule() 162 | { 163 | if (hDriver == INVALID_HANDLE_VALUE) 164 | return false; 165 | 166 | ULONG Address; 167 | DWORD Bytes; 168 | 169 | if (DeviceIoControl(hDriver, IO_GET_ENGINE_MODULE_REQUEST, &Address, sizeof(Address), 170 | &Address, sizeof(Address), &Bytes, NULL)) 171 | { 172 | return Address; 173 | } 174 | return false; 175 | } 176 | 177 | DWORD GetEngineModuleSize() 178 | { 179 | if (hDriver == INVALID_HANDLE_VALUE) 180 | return false; 181 | 182 | ULONG Address; 183 | DWORD Bytes; 184 | 185 | if (DeviceIoControl(hDriver, IO_GET_ENGINE_MODULE_REQUEST_LENGTH, &Address, sizeof(Address), 186 | &Address, sizeof(Address), &Bytes, NULL)) 187 | { 188 | return Address; 189 | } 190 | return false; 191 | } 192 | 193 | BOOL DataCompare(const BYTE* pData, const BYTE* pMask, const char* pszMask) 194 | { 195 | for (; *pszMask; ++pszMask, ++pData, ++pMask) 196 | { 197 | if (*pszMask == 'x' && *pData != *pMask) 198 | { 199 | return FALSE; 200 | } 201 | } 202 | return (*pszMask == 0); 203 | } 204 | 205 | DWORD Scan(ULONG ProcessId, DWORD dwStart, DWORD dwSize, BYTE* pSignature, const char* pMask) 206 | { 207 | BYTE* pRemote = new BYTE[dwSize]; 208 | if (!ReadSpecial(ProcessId, dwStart, pRemote, dwSize)) 209 | { 210 | delete[] pRemote; 211 | return NULL; 212 | } 213 | for (DWORD dwIndex = 0; dwIndex < dwSize; dwIndex++) 214 | { 215 | if (DataCompare((const BYTE*)(pRemote + dwIndex),pSignature, pMask)) 216 | { 217 | delete[] pRemote; 218 | return (dwStart + dwIndex); 219 | } 220 | } 221 | delete[] pRemote; 222 | return NULL; 223 | } 224 | }; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp: Önceden derlenen üst bilgiye karşılık gelen kaynak dosya, tamamlamanın başarılı olması için gerekli 2 | 3 | #include "pch.h" 4 | 5 | // Bu dosyayı genel anlamda yoksayın, ancak önceden derlenmiş üst bilgiler kullanıyorsanız kolayca erişebileceğiniz bir yerde tutun. 6 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/pch.h: -------------------------------------------------------------------------------- 1 |  2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #pragma comment (lib, "ntdll.lib") 18 | 19 | 20 | 21 | #include "termcolor.h" 22 | #include "ProcManager.h" 23 | #include "MemoryManager.h" 24 | #include "screen.h" 25 | #include "Esp.h" 26 | 27 | 28 | 29 | #endif //PCH_H 30 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/screen.cpp: -------------------------------------------------------------------------------- 1 | #include "screen.h" 2 | 3 | Aimbot* g_pAimbot = new Aimbot(); 4 | 5 | Aimbot::Aimbot(){} 6 | Aimbot::~Aimbot(){} 7 | void Aimbot::updateaim() 8 | { 9 | if (GetAsyncKeyState(aimkey)) 10 | { 11 | AimAtPos(); 12 | Vector2 lol = g_pEsp->GetMagicCoord(magicaim/*{100,100,100}*/, g_pEsp->mypos); 13 | g_pEsp->HookMagic(lol.x, lol.y); 14 | } 15 | Sleep(aimsleep); 16 | } 17 | void Aimbot::Boostplayer() 18 | { 19 | if (GetAsyncKeyState(boostkey) && boostenabled) 20 | { 21 | for (int i = 0; i < 11; i++) 22 | g_pMemoryManager->Driver.WriteVirtualMemory(g_pMemoryManager->processId, g_pEsp->boostAddv + (i * 4), boostval, sizeof(float)); 23 | booststatus = true; 24 | } 25 | else if (boostenabled && booststatus) 26 | { 27 | for(int i=0;i<11;i++) 28 | g_pMemoryManager->Driver.WriteVirtualMemory(g_pMemoryManager->processId, g_pEsp->boostAddv + (i*4), 1.0f, sizeof(float)); 29 | booststatus = false; 30 | } 31 | } 32 | 33 | void Aimbot::IpadV() 34 | { 35 | if (g_pEsp->ipad != 0) 36 | { 37 | g_pMemoryManager->Driver.WriteVirtualMemory(g_pMemoryManager->processId, g_pEsp->ipad, ipadview, sizeof(float)); 38 | } 39 | } 40 | void Aimbot::AimAtPos() 41 | { 42 | float Width = g_Width; 43 | float Height = g_Height; 44 | float x = aimtarget.x; 45 | float y = aimtarget.y; 46 | int num = Width / 2; 47 | int num2 = Height / 2; 48 | float num3 = (float)smooth + 1.0f; 49 | float num4 = 0.0f; 50 | float num5 = 0.0f; 51 | if (x != 0.0f) 52 | { 53 | if (x > (float)num) 54 | { 55 | num4 = -((float)num - x); 56 | num4 /= num3; 57 | if ((num4 * num3) + (float)num > (float)(num * 2)) 58 | { 59 | num4 = 0.0f; 60 | } 61 | } 62 | if (x < (float)num) 63 | { 64 | num4 = x - (float)num; 65 | num4 /= num3; 66 | if ((num4 * num3) + (float)num < 0.0f) 67 | { 68 | num4 = 0.0f; 69 | } 70 | } 71 | } 72 | if (y != 0.0f) 73 | { 74 | if (y > (float)num2) 75 | { 76 | num5 = -((float)num2 - y); 77 | num5 /= num3; 78 | if ((num5 * num3) + (float)num2 > (float)(num2 * 2)) 79 | { 80 | num5 = 0.0f; 81 | } 82 | } 83 | if (y < (float)num2) 84 | { 85 | num5 = y - (float)num2; 86 | num5 /= num3; 87 | if ((num5 * num3) + (float)num2 < 0.0f) 88 | { 89 | num5 = 0.0f; 90 | } 91 | } 92 | } 93 | 94 | 95 | mouse_event(1U, (int)num4, (int)num5, NULL, NULL); 96 | } -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/hacks/screen.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | 4 | class Aimbot 5 | { 6 | public: 7 | bool aimbot = true, aimtype = true, boostenabled=false, booststatus = false; 8 | int boostkey = 86; 9 | float boostval = 1.0f, ipadview = 360.0f; 10 | int aimplayer = 0,aimkey = 88; 11 | float g_Height = 0, g_Width = 0,smooth = 15, aimsleep = 20; 12 | Vector2 aimtarget; 13 | Vector3 magicaim = { 0,0,0 }; 14 | 15 | Aimbot(); 16 | ~Aimbot(); 17 | void AimAtPos(); 18 | void Boostplayer(); 19 | void IpadV(); 20 | void updateaim(); 21 | }; 22 | 23 | extern Aimbot* g_pAimbot; -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/imgui.ini: -------------------------------------------------------------------------------- 1 | [Window][Debug##Default] 2 | Pos=60,60 3 | Size=400,400 4 | Collapsed=0 5 | 6 | [Window][RIXOT VIP] 7 | Pos=338,20 8 | Size=356,360 9 | Collapsed=0 10 | 11 | [Window][ImGui Demo] 12 | Pos=550,38 13 | Size=550,571 14 | Collapsed=0 15 | 16 | [Window][Example: Console] 17 | Pos=92,31 18 | Size=520,600 19 | Collapsed=0 20 | 21 | [Window][Same title as another window##1] 22 | Pos=-14,223 23 | Size=300,400 24 | Collapsed=0 25 | 26 | [Window][Same title as another window##2] 27 | Pos=70,470 28 | Size=461,83 29 | Collapsed=0 30 | 31 | [Window][###AnimatedTitle] 32 | Pos=218,291 33 | Size=231,181 34 | Collapsed=1 35 | 36 | [Window][Style Editor] 37 | Pos=136,56 38 | Size=406,650 39 | Collapsed=0 40 | 41 | [Window][Example: Documents] 42 | Pos=20,72 43 | Size=300,400 44 | Collapsed=0 45 | 46 | [Window][About Dear ImGui] 47 | Pos=74,80 48 | Size=580,157 49 | Collapsed=0 50 | 51 | [Window][Example: Custom rendering] 52 | Pos=355,55 53 | Size=220,569 54 | Collapsed=0 55 | 56 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/imgui/imconfig.h: -------------------------------------------------------------------------------- 1 | //----------------------------------------------------------------------------- 2 | // COMPILE-TIME OPTIONS FOR DEAR IMGUI 3 | // Runtime options (clipboard callbacks, enabling various features, etc.) can generally be set via the ImGuiIO structure. 4 | // You can use ImGui::SetAllocatorFunctions() before calling ImGui::CreateContext() to rewire memory allocation functions. 5 | //----------------------------------------------------------------------------- 6 | // A) You may edit imconfig.h (and not overwrite it when updating imgui, or maintain a patch/branch with your modifications to imconfig.h) 7 | // B) or add configuration directives in your own file and compile with #define IMGUI_USER_CONFIG "myfilename.h" 8 | // If you do so you need to make sure that configuration settings are defined consistently _everywhere_ dear imgui is used, which include 9 | // the imgui*.cpp files but also _any_ of your code that uses imgui. This is because some compile-time options have an affect on data structures. 10 | // Defining those options in imconfig.h will ensure every compilation unit gets to see the same data structure layouts. 11 | // Call IMGUI_CHECKVERSION() from your .cpp files to verify that the data structures your files are using are matching the ones imgui.cpp is using. 12 | //----------------------------------------------------------------------------- 13 | 14 | #pragma once 15 | 16 | //---- Define assertion handler. Defaults to calling assert(). 17 | //#define IM_ASSERT(_EXPR) MyAssert(_EXPR) 18 | //#define IM_ASSERT(_EXPR) ((void)(_EXPR)) // Disable asserts 19 | 20 | //---- Define attributes of all API symbols declarations, e.g. for DLL under Windows. 21 | //#define IMGUI_API __declspec( dllexport ) 22 | //#define IMGUI_API __declspec( dllimport ) 23 | 24 | //---- Don't define obsolete functions/enums names. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names. 25 | #define IMGUI_DISABLE_OBSOLETE_FUNCTIONS 26 | 27 | //---- Don't implement demo windows functionality (ShowDemoWindow()/ShowStyleEditor()/ShowUserGuide() methods will be empty) 28 | //---- It is very strongly recommended to NOT disable the demo windows during development. Please read the comments in imgui_demo.cpp. 29 | //#define IMGUI_DISABLE_DEMO_WINDOWS 30 | 31 | //---- Don't implement some functions to reduce linkage requirements. 32 | //#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS // [Win32] Don't implement default clipboard handler. Won't use and link with OpenClipboard/GetClipboardData/CloseClipboard etc. 33 | //#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS // [Win32] Don't implement default IME handler. Won't use and link with ImmGetContext/ImmSetCompositionWindow. 34 | //#define IMGUI_DISABLE_WIN32_FUNCTIONS // [Win32] Won't use and link with any Win32 function. 35 | //#define IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS // Don't implement ImFormatString/ImFormatStringV so you can implement them yourself if you don't want to link with vsnprintf. 36 | //#define IMGUI_DISABLE_MATH_FUNCTIONS // Don't implement ImFabs/ImSqrt/ImPow/ImFmod/ImCos/ImSin/ImAcos/ImAtan2 wrapper so you can implement them yourself. Declare your prototypes in imconfig.h. 37 | //#define IMGUI_DISABLE_DEFAULT_ALLOCATORS // Don't implement default allocators calling malloc()/free() to avoid linking with them. You will need to call ImGui::SetAllocatorFunctions(). 38 | 39 | //---- Include imgui_user.h at the end of imgui.h as a convenience 40 | //#define IMGUI_INCLUDE_IMGUI_USER_H 41 | 42 | //---- Pack colors to BGRA8 instead of RGBA8 (to avoid converting from one to another) 43 | //#define IMGUI_USE_BGRA_PACKED_COLOR 44 | 45 | //---- Avoid multiple STB libraries implementations, or redefine path/filenames to prioritize another version 46 | // By default the embedded implementations are declared static and not available outside of imgui cpp files. 47 | //#define IMGUI_STB_TRUETYPE_FILENAME "my_folder/stb_truetype.h" 48 | //#define IMGUI_STB_RECT_PACK_FILENAME "my_folder/stb_rect_pack.h" 49 | //#define IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION 50 | //#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION 51 | 52 | //---- Define constructor and implicit cast operators to convert back<>forth between your math types and ImVec2/ImVec4. 53 | // This will be inlined as part of ImVec2 and ImVec4 class declarations. 54 | /* 55 | #define IM_VEC2_CLASS_EXTRA \ 56 | ImVec2(const MyVec2& f) { x = f.x; y = f.y; } \ 57 | operator MyVec2() const { return MyVec2(x,y); } 58 | 59 | #define IM_VEC4_CLASS_EXTRA \ 60 | ImVec4(const MyVec4& f) { x = f.x; y = f.y; z = f.z; w = f.w; } \ 61 | operator MyVec4() const { return MyVec4(x,y,z,w); } 62 | */ 63 | 64 | //---- Use 32-bit vertex indices (default is 16-bit) to allow meshes with more than 64K vertices. Render function needs to support it. 65 | //#define ImDrawIdx unsigned int 66 | 67 | //---- Tip: You can add extra functions within the ImGui:: namespace, here or in your own headers files. 68 | /* 69 | namespace ImGui 70 | { 71 | void MyFunction(const char* name, const MyMatrix44& v); 72 | } 73 | */ 74 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/imgui/imgui_impl_dx9.h: -------------------------------------------------------------------------------- 1 | // dear imgui: Renderer for DirectX9 2 | // This needs to be used along with a Platform Binding (e.g. Win32) 3 | 4 | // Implemented features: 5 | // [X] Renderer: User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. 6 | 7 | // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. 8 | // If you are new to dear imgui, read examples/README.txt and read the documentation at the top of imgui.cpp. 9 | // https://github.com/ocornut/imgui 10 | 11 | #pragma once 12 | 13 | struct IDirect3DDevice9; 14 | 15 | IMGUI_IMPL_API bool ImGui_ImplDX9_Init(IDirect3DDevice9* device); 16 | IMGUI_IMPL_API void ImGui_ImplDX9_Shutdown(); 17 | IMGUI_IMPL_API void ImGui_ImplDX9_NewFrame(); 18 | IMGUI_IMPL_API void ImGui_ImplDX9_RenderDrawData(ImDrawData* draw_data); 19 | 20 | // Use if you want to reset your rendering device without losing ImGui state. 21 | IMGUI_IMPL_API void ImGui_ImplDX9_InvalidateDeviceObjects(); 22 | IMGUI_IMPL_API bool ImGui_ImplDX9_CreateDeviceObjects(); 23 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/imgui/imgui_impl_win32.h: -------------------------------------------------------------------------------- 1 | // dear imgui: Platform Binding for Windows (standard windows API for 32 and 64 bits applications) 2 | // This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..) 3 | 4 | // Implemented features: 5 | // [X] Platform: Clipboard support (for Win32 this is actually part of core imgui) 6 | // [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. 7 | // [X] Platform: Keyboard arrays indexed using VK_* Virtual Key Codes, e.g. ImGui::IsKeyPressed(VK_SPACE). 8 | // Missing features: 9 | // [ ] Platform: Gamepad support (best leaving it to user application to fill io.NavInputs[] with gamepad inputs from their source of choice). 10 | 11 | #pragma once 12 | 13 | IMGUI_IMPL_API bool ImGui_ImplWin32_Init(void* hwnd); 14 | IMGUI_IMPL_API void ImGui_ImplWin32_Shutdown(); 15 | IMGUI_IMPL_API void ImGui_ImplWin32_NewFrame(); 16 | 17 | // Handler for Win32 messages, update mouse/keyboard data. 18 | // You may or not need this for your implementation, but it can serve as reference for handling inputs. 19 | // Intentionally commented out to avoid dragging dependencies on types. You can COPY this line into your .cpp code instead. 20 | /* 21 | IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 22 | */ 23 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Device2D.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_DEVICE2D_HPP 3 | #define REACTIION_AERO_OVERLAY_DEVICE2D_HPP 4 | #include "Overlay.hpp" 5 | #include "Surface2D.hpp" 6 | 7 | namespace render { 8 | 9 | class Device2D : 10 | public Overlay 11 | { 12 | public: 13 | ///------------------------------------------------------------------------------------------------- 14 | /// Default constructor. 15 | /// 16 | /// @author ReactiioN 17 | /// @date 05.03.2017 18 | ///------------------------------------------------------------------------------------------------- 19 | Device2D() = default; 20 | 21 | ///------------------------------------------------------------------------------------------------- 22 | /// Destructor. 23 | /// 24 | /// @author ReactiioN 25 | /// @date 05.03.2017 26 | ///------------------------------------------------------------------------------------------------- 27 | ~Device2D() override; 28 | 29 | ///------------------------------------------------------------------------------------------------- 30 | /// Creates a new bool. 31 | /// 32 | /// @author ReactiioN 33 | /// @date 05.03.2017 34 | /// 35 | /// @param target_window_title Target window title. 36 | /// 37 | /// @return True if it succeeds, false if it fails. 38 | ///------------------------------------------------------------------------------------------------- 39 | bool create( 40 | const std::string& target_window_title ) override; 41 | 42 | ///------------------------------------------------------------------------------------------------- 43 | /// Renders this object. 44 | /// 45 | /// @author ReactiioN 46 | /// @date 05.03.2017 47 | /// 48 | /// @return True if it succeeds, false if it fails. 49 | ///------------------------------------------------------------------------------------------------- 50 | bool render() override; 51 | 52 | ///------------------------------------------------------------------------------------------------- 53 | /// Shuts down this object and frees any resources it is using. 54 | /// 55 | /// @author ReactiioN 56 | /// @date 05.03.2017 57 | ///------------------------------------------------------------------------------------------------- 58 | void shutdown() override; 59 | 60 | private: 61 | /// The Direct2D factory. 62 | ID2D1Factory* m_Direct2DFactory = nullptr; 63 | /// The Direct2D render target. 64 | ID2D1HwndRenderTarget* m_Direct2DHwndRenderTarget = nullptr; 65 | /// The Direct Write factory. 66 | IDWriteFactory* m_DirectWriteFactory = nullptr; 67 | /// The Direct2D color brush. 68 | ID2D1SolidColorBrush* m_Diect2DColorBrush = nullptr; 69 | }; 70 | 71 | } 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Device3D9.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_DEVICE3D9_HPP 3 | #define REACTIION_AERO_OVERLAY_DEVICE3D9_HPP 4 | 5 | #include "Overlay.hpp" 6 | #include "Surface3D9.hpp" 7 | 8 | namespace render { 9 | 10 | class Device3D9 : 11 | public Overlay 12 | { 13 | public: 14 | ///------------------------------------------------------------------------------------------------- 15 | /// Default constructor. 16 | /// 17 | /// @author ReactiioN 18 | /// @date 05.03.2017 19 | ///------------------------------------------------------------------------------------------------- 20 | Device3D9() = default; 21 | 22 | ///------------------------------------------------------------------------------------------------- 23 | /// Destructor. 24 | /// 25 | /// @author ReactiioN 26 | /// @date 05.03.2017 27 | ///------------------------------------------------------------------------------------------------- 28 | ~Device3D9() override; 29 | 30 | ///------------------------------------------------------------------------------------------------- 31 | /// Creates a new bool. 32 | /// 33 | /// @author ReactiioN 34 | /// @date 05.03.2017 35 | /// 36 | /// @param target_window_title Target window title. 37 | /// 38 | /// @return True if it succeeds, false if it fails. 39 | ///------------------------------------------------------------------------------------------------- 40 | bool create( 41 | const std::string& target_window_title ) override; 42 | void DrawTriangle(Vector2 a, Vector2 b, Vector2 c, drawing::Color col); 43 | void DrawPlayerBlood(float x, float y, float h, float w, float fBlood, int max); 44 | 45 | ///------------------------------------------------------------------------------------------------- 46 | /// Renders this object. 47 | /// 48 | /// @author ReactiioN 49 | /// @date 05.03.2017 50 | /// 51 | /// @return True if it succeeds, false if it fails. 52 | ///------------------------------------------------------------------------------------------------- 53 | bool render() override; 54 | ///------------------------------------------------------------------------------------------------- 55 | /// Shuts down this object and frees any resources it is using. 56 | /// 57 | /// @author ReactiioN 58 | /// @date 05.03.2017 59 | ///------------------------------------------------------------------------------------------------- 60 | void shutdown() override; 61 | 62 | private: 63 | /// The DirectX9 interface. 64 | IDirect3D9Ex* m_Direct3D9Ex = nullptr; 65 | /// The DirectX9 device. 66 | IDirect3DDevice9Ex* m_Direct3D9Device = nullptr; 67 | /// The DirectX sprite. 68 | ID3DXSprite* m_Direct3DXSprite = nullptr; 69 | }; 70 | 71 | } 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Font.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_FONT_HPP 3 | #define REACTIION_AERO_OVERLAY_FONT_HPP 4 | #include "../stdafx.hpp" 5 | 6 | namespace render { 7 | 8 | class Font 9 | { 10 | public: 11 | ///------------------------------------------------------------------------------------------------- 12 | /// Constructor. 13 | /// 14 | /// @author ReactiioN 15 | /// @date 05.03.2017 16 | /// 17 | /// @param name The name. 18 | /// @param height The height. 19 | /// @param weight The weight. 20 | /// @param flags The flags. 21 | ///------------------------------------------------------------------------------------------------- 22 | Font( 23 | const std::string& name, 24 | const int32_t height, 25 | const int32_t weight, 26 | const int32_t flags ); 27 | ///------------------------------------------------------------------------------------------------- 28 | /// Destructor. 29 | /// 30 | /// @author ReactiioN 31 | /// @date 04.03.2017 32 | ///------------------------------------------------------------------------------------------------- 33 | virtual ~Font(); 34 | 35 | ///------------------------------------------------------------------------------------------------- 36 | /// Shuts down this object and frees any resources it is using. 37 | /// 38 | /// @author ReactiioN 39 | /// @date 04.03.2017 40 | ///------------------------------------------------------------------------------------------------- 41 | virtual void shutdown() = 0; 42 | 43 | protected: 44 | ///------------------------------------------------------------------------------------------------- 45 | /// Initializes this object. 46 | /// 47 | /// @author ReactiioN 48 | /// @date 04.03.2017 49 | /// 50 | /// @return True if it succeeds, false if it fails. 51 | ///------------------------------------------------------------------------------------------------- 52 | virtual bool create() = 0; 53 | 54 | public: 55 | ///------------------------------------------------------------------------------------------------- 56 | /// Gets the height. 57 | /// 58 | /// @author ReactiioN 59 | /// @date 04.03.2017 60 | /// 61 | /// @return An int32_t. 62 | ///------------------------------------------------------------------------------------------------- 63 | inline int32_t height() const; 64 | 65 | ///------------------------------------------------------------------------------------------------- 66 | /// Gets the weight. 67 | /// 68 | /// @author ReactiioN 69 | /// @date 04.03.2017 70 | /// 71 | /// @return An int32_t. 72 | ///------------------------------------------------------------------------------------------------- 73 | inline int32_t weight() const; 74 | 75 | ///------------------------------------------------------------------------------------------------- 76 | /// Gets the flags. 77 | /// 78 | /// @author ReactiioN 79 | /// @date 04.03.2017 80 | /// 81 | /// @return An int32_t. 82 | ///------------------------------------------------------------------------------------------------- 83 | inline int32_t flags() const; 84 | 85 | ///------------------------------------------------------------------------------------------------- 86 | /// Gets the name. 87 | /// 88 | /// @author ReactiioN 89 | /// @date 04.03.2017 90 | /// 91 | /// @return A reference to a const std::string. 92 | ///------------------------------------------------------------------------------------------------- 93 | inline const std::string& name() const; 94 | 95 | protected: 96 | /// The name. 97 | std::string m_Name; 98 | /// The height. 99 | int32_t m_Height = 0; 100 | /// The weight. 101 | int32_t m_Weight = 0; 102 | /// The flags. 103 | int32_t m_Flags = 0; 104 | }; 105 | 106 | inline Font::Font( 107 | const std::string& name, 108 | const int32_t height, 109 | const int32_t weight, 110 | const int32_t flags ) : 111 | m_Name( name ), 112 | m_Height( height ), 113 | m_Weight( weight ), 114 | m_Flags( flags ) 115 | { 116 | } 117 | 118 | inline Font::~Font() 119 | { 120 | } 121 | 122 | inline int32_t Font::height() const 123 | { 124 | return m_Height; 125 | } 126 | 127 | inline int32_t Font::weight() const 128 | { 129 | return m_Weight; 130 | } 131 | 132 | inline int32_t Font::flags() const 133 | { 134 | return m_Flags; 135 | } 136 | 137 | const std::string& Font::name() const 138 | { 139 | return m_Name; 140 | } 141 | 142 | /// An alias for a shared_ptr of the type class Font. 143 | using Font_t = std::shared_ptr; 144 | 145 | } 146 | 147 | #endif 148 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Font2D.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_FONT2D_HPP 3 | #define REACTIION_AERO_OVERLAY_FONT2D_HPP 4 | 5 | /// the Font interface 6 | #include "Font.hpp" 7 | 8 | /// disable the compiler warning C4005 9 | /// mixing DirectX with Direct2D will result in a ton of 10 | /// compiler warnings (previous definition XXX) 11 | #pragma warning( disable : 4005 ) 12 | /// Direct2D + Direct Draw include files 13 | #include 14 | #include 15 | #include 16 | 17 | /// link the libraries for Direct2D + Direct Draw 18 | #pragma comment( lib, "d2d1.lib" ) 19 | #pragma comment( lib, "dwrite.lib" ) 20 | 21 | /// enable the compiler warning C4005 22 | #pragma warning( default : 4005 ) 23 | 24 | namespace render { 25 | 26 | class Font2D : 27 | public Font 28 | { 29 | public: 30 | ///------------------------------------------------------------------------------------------------- 31 | /// Default constructor. 32 | /// 33 | /// @author ReactiioN 34 | /// @date 05.03.2017 35 | ///------------------------------------------------------------------------------------------------- 36 | Font2D() = default; 37 | 38 | ///------------------------------------------------------------------------------------------------- 39 | /// Constructor. 40 | /// 41 | /// @author ReactiioN 42 | /// @date 05.03.2017 43 | /// 44 | /// @param name The name. 45 | /// @param height The height. 46 | /// @param weight The weight. 47 | /// @param flags The flags. 48 | /// @param write_factory The write factory. 49 | ///------------------------------------------------------------------------------------------------- 50 | Font2D( 51 | const std::string& name, 52 | const int32_t height, 53 | const int32_t weight, 54 | const int32_t flags, 55 | const IDWriteFactory* write_factory ); 56 | 57 | ///------------------------------------------------------------------------------------------------- 58 | /// Destructor. 59 | /// 60 | /// @author ReactiioN 61 | /// @date 05.03.2017 62 | ///------------------------------------------------------------------------------------------------- 63 | ~Font2D() override; 64 | 65 | ///------------------------------------------------------------------------------------------------- 66 | /// Shuts down this object and frees any resources it is using. 67 | /// 68 | /// @author ReactiioN 69 | /// @date 05.03.2017 70 | ///------------------------------------------------------------------------------------------------- 71 | void shutdown() override; 72 | 73 | ///------------------------------------------------------------------------------------------------- 74 | /// Creates a new bool. 75 | /// 76 | /// @author ReactiioN 77 | /// @date 05.03.2017 78 | /// 79 | /// @return True if it succeeds, false if it fails. 80 | ///------------------------------------------------------------------------------------------------- 81 | bool create() override; 82 | 83 | ///------------------------------------------------------------------------------------------------- 84 | /// Gets the font. 85 | /// 86 | /// @author ReactiioN 87 | /// @date 05.03.2017 88 | /// 89 | /// @return Null if it fails, else the font. 90 | ///------------------------------------------------------------------------------------------------- 91 | IDWriteTextFormat* get_font() const; 92 | 93 | ///------------------------------------------------------------------------------------------------- 94 | /// Sets a device. 95 | /// 96 | /// @author ReactiioN 97 | /// @date 05.03.2017 98 | /// 99 | /// @param write_factory The write factory. 100 | ///------------------------------------------------------------------------------------------------- 101 | void set_device( 102 | const IDWriteFactory* write_factory ); 103 | 104 | private: 105 | /// The DirectWrite factory. 106 | IDWriteFactory* m_Direct2DWFactory = nullptr; 107 | /// The DirectWrite font. 108 | IDWriteTextFormat* m_Direct2DFont = nullptr; 109 | }; 110 | 111 | } 112 | 113 | #endif 114 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Font3D9.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_FONT3D9_HPP 3 | #define REACTIION_AERO_OVERLAY_FONT3D9_HPP 4 | 5 | /// the Font interface 6 | #include "Font.hpp" 7 | 8 | /// DirectX 9 includes 9 | #include 10 | #include 11 | 12 | /// link the libraries for DirectX 9 13 | #pragma comment( lib, "d3d9.lib" ) 14 | #pragma comment( lib, "d3dx9.lib" ) 15 | 16 | namespace render { 17 | 18 | class Font3D9 : 19 | public Font 20 | { 21 | public: 22 | ///------------------------------------------------------------------------------------------------- 23 | /// Default constructor. 24 | /// 25 | /// @author ReactiioN 26 | /// @date 05.03.2017 27 | ///------------------------------------------------------------------------------------------------- 28 | Font3D9() = default; 29 | 30 | ///------------------------------------------------------------------------------------------------- 31 | /// Constructor. 32 | /// 33 | /// @author ReactiioN 34 | /// @date 05.03.2017 35 | /// 36 | /// @param name The name. 37 | /// @param height The height. 38 | /// @param weight The weight. 39 | /// @param flags The flags. 40 | /// @param device The device. 41 | ///------------------------------------------------------------------------------------------------- 42 | Font3D9( 43 | const std::string& name, 44 | const int32_t height, 45 | const int32_t weight, 46 | const int32_t flags, 47 | const IDirect3DDevice9Ex* device ); 48 | 49 | ///------------------------------------------------------------------------------------------------- 50 | /// Destructor. 51 | /// 52 | /// @author ReactiioN 53 | /// @date 05.03.2017 54 | ///------------------------------------------------------------------------------------------------- 55 | ~Font3D9() override; 56 | 57 | ///------------------------------------------------------------------------------------------------- 58 | /// Shuts down this object and frees any resources it is using. 59 | /// 60 | /// @author ReactiioN 61 | /// @date 05.03.2017 62 | ///------------------------------------------------------------------------------------------------- 63 | void shutdown() override; 64 | 65 | ///------------------------------------------------------------------------------------------------- 66 | /// Creates a new bool. 67 | /// 68 | /// @author ReactiioN 69 | /// @date 05.03.2017 70 | /// 71 | /// @return True if it succeeds, false if it fails. 72 | ///------------------------------------------------------------------------------------------------- 73 | bool create() override; 74 | 75 | ///------------------------------------------------------------------------------------------------- 76 | /// Gets the font. 77 | /// 78 | /// @author ReactiioN 79 | /// @date 05.03.2017 80 | /// 81 | /// @return Null if it fails, else the font. 82 | ///------------------------------------------------------------------------------------------------- 83 | ID3DXFont* get_font() const; 84 | 85 | ///------------------------------------------------------------------------------------------------- 86 | /// Sets a device. 87 | /// 88 | /// @author ReactiioN 89 | /// @date 05.03.2017 90 | /// 91 | /// @param device The device. 92 | ///------------------------------------------------------------------------------------------------- 93 | void set_device( 94 | const IDirect3DDevice9Ex* device ); 95 | 96 | protected: 97 | /// The DirectX9 device. 98 | IDirect3DDevice9Ex* m_Direct3D9Device = nullptr; 99 | /// The DirectX font. 100 | ID3DXFont* m_Direct3DXFont = nullptr; 101 | }; 102 | 103 | } 104 | 105 | #endif 106 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/render/Surface3D9.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_SURFACE3D9_HPP 3 | #define REACTIION_AERO_OVERLAY_SURFACE3D9_HPP 4 | 5 | #include "Surface.hpp" 6 | #include "Font3D9.hpp" 7 | 8 | namespace render { 9 | 10 | class Surface3D9 : 11 | public Surface 12 | { 13 | public: 14 | ///------------------------------------------------------------------------------------------------- 15 | /// Default constructor. 16 | /// 17 | /// @author ReactiioN 18 | /// @date 05.03.2017 19 | ///------------------------------------------------------------------------------------------------- 20 | Surface3D9() = default; 21 | 22 | ///------------------------------------------------------------------------------------------------- 23 | /// Constructor. 24 | /// 25 | /// @author ReactiioN 26 | /// @date 05.03.2017 27 | /// 28 | /// @param sprite The sprite. 29 | ///------------------------------------------------------------------------------------------------- 30 | Surface3D9( 31 | const ID3DXSprite* sprite ); 32 | 33 | ///------------------------------------------------------------------------------------------------- 34 | /// Destructor. 35 | /// 36 | /// @author ReactiioN 37 | /// @date 05.03.2017 38 | ///------------------------------------------------------------------------------------------------- 39 | ~Surface3D9() override; 40 | 41 | ///------------------------------------------------------------------------------------------------- 42 | /// Initializes this object. 43 | /// 44 | /// @author ReactiioN 45 | /// @date 05.03.2017 46 | /// 47 | /// @param device The device. 48 | /// 49 | /// @return True if it succeeds, false if it fails. 50 | ///------------------------------------------------------------------------------------------------- 51 | bool initialize( 52 | const void* device ) override; 53 | 54 | ///------------------------------------------------------------------------------------------------- 55 | /// Begins a scene. 56 | /// 57 | /// @author ReactiioN 58 | /// @date 05.03.2017 59 | /// 60 | /// @return True if it succeeds, false if it fails. 61 | ///------------------------------------------------------------------------------------------------- 62 | bool begin_scene() override; 63 | 64 | ///------------------------------------------------------------------------------------------------- 65 | /// Adds a font. 66 | /// 67 | /// @author ReactiioN 68 | /// @date 05.03.2017 69 | /// 70 | /// @param name The name. 71 | /// @param definition The definition. 72 | /// @param height The height. 73 | /// @param weight The weight. 74 | /// @param flags The flags. 75 | /// 76 | /// @return A Font_t. 77 | ///------------------------------------------------------------------------------------------------- 78 | Font_t add_font( 79 | const std::string& name, 80 | const std::string& definition, 81 | const int32_t height, 82 | const int32_t weight, 83 | const int32_t flags ) override; 84 | 85 | ///------------------------------------------------------------------------------------------------- 86 | /// Ends a scene. 87 | /// 88 | /// @author ReactiioN 89 | /// @date 05.03.2017 90 | ///------------------------------------------------------------------------------------------------- 91 | void end_scene() override; 92 | 93 | ///------------------------------------------------------------------------------------------------- 94 | /// Shuts down this object and frees any resources it is using. 95 | /// 96 | /// @author ReactiioN 97 | /// @date 05.03.2017 98 | ///------------------------------------------------------------------------------------------------- 99 | void shutdown() override; 100 | 101 | ///------------------------------------------------------------------------------------------------- 102 | /// Texts. 103 | /// 104 | /// @author ReactiioN 105 | /// @date 05.03.2017 106 | /// 107 | /// @param x The int32_t to process. 108 | /// @param y The int32_t to process. 109 | /// @param font The font. 110 | /// @param color The color. 111 | /// @param message The message. 112 | ///------------------------------------------------------------------------------------------------- 113 | void text( 114 | const int32_t x, 115 | const int32_t y, 116 | const Font_t& font, 117 | const drawing::Color& color, 118 | const std::string& message ) override; 119 | 120 | ///------------------------------------------------------------------------------------------------- 121 | /// Sets a sprite. 122 | /// 123 | /// @author ReactiioN 124 | /// @date 05.03.2017 125 | /// 126 | /// @param sprite The sprite. 127 | ///------------------------------------------------------------------------------------------------- 128 | void set_sprite( const ID3DXSprite* sprite ); 129 | 130 | protected: 131 | ///------------------------------------------------------------------------------------------------- 132 | /// Renders the data. 133 | /// 134 | /// @author ReactiioN 135 | /// @date 05.03.2017 136 | ///------------------------------------------------------------------------------------------------- 137 | void render_data() override; 138 | 139 | private: 140 | /// The DirectX9 device. 141 | IDirect3DDevice9Ex* m_Direct3D9Device = nullptr; 142 | 143 | /// The DirectX sprite. 144 | ID3DXSprite* m_Direct3DXSprite = nullptr; 145 | }; 146 | 147 | } 148 | 149 | #endif 150 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/include/stdafx.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef REACTIION_AERO_OVERLAY_HPP 3 | #define REACTIION_AERO_OVERLAY_HPP 4 | #include 5 | 6 | #include 7 | #pragma comment( lib, "dwmapi.lib" ) 8 | 9 | /// std::arry 10 | #include 11 | /// std::atomic 12 | #include 13 | /// std::transform, std::find, ... 14 | #include 15 | /// std::wstring_converter 16 | #include 17 | /// std::fstream 18 | #include 19 | /// std::cout, std::cin 20 | #include 21 | /// std::map 22 | #include 23 | /// std::shared_ptr, std::unique_ptr 24 | #include 25 | /// std::random_device 26 | #include 27 | /// std::stringstream, stream << operator for strings 28 | #include 29 | /// std::shared_timed_mutex, std::unique_lock, std::shared_lock 30 | #include 31 | /// std::tuple 32 | #include 33 | /// std::this_thread::sleep_for 34 | #include 35 | /// std::vector 36 | #include 37 | 38 | ///------------------------------------------------------------------------------------------------- 39 | /// Safe release. 40 | /// 41 | /// @author ReactiioN 42 | /// @date 04.03.2017 43 | /// 44 | /// @tparam T Generic type parameter. 45 | /// @param [in,out] interface_to_release If non-null, the interface to release. 46 | ///------------------------------------------------------------------------------------------------- 47 | template 48 | void safe_release( T** interface_to_release ) 49 | { 50 | if( interface_to_release && *interface_to_release ) { 51 | ( *interface_to_release )->Release(); 52 | ( *interface_to_release ) = nullptr; 53 | } 54 | } 55 | 56 | ///------------------------------------------------------------------------------------------------- 57 | /// A macro that defines Destructor execute virtual. 58 | /// 59 | /// @author ReactiioN 60 | /// @date 04.03.2017 61 | /// 62 | /// @param FN The function. 63 | ///------------------------------------------------------------------------------------------------- 64 | #define DTOR_EXECUTE_VIRTUAL( FN ) [this]{ \ 65 | FN(); \ 66 | } 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Color.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace drawing; 3 | 4 | Color::Color() 5 | { 6 | m_Color.fill( 255 ); 7 | } 8 | 9 | Color::Color( const Color_t& color ) : 10 | m_Color( color ) 11 | { 12 | } 13 | 14 | Color::Color( const uint32_t color ) 15 | { 16 | set( color ); 17 | } 18 | 19 | Color& Color::operator = ( const Color& color ) 20 | { 21 | set( color.to_hex() ); 22 | return *this; 23 | } 24 | 25 | Color& Color::operator = ( const uint32_t color ) 26 | { 27 | set( color ); 28 | return *this; 29 | } 30 | 31 | bool Color::operator == ( const Color& color ) const 32 | { 33 | return to_hex() == color.to_hex(); 34 | } 35 | 36 | bool Color::operator == ( const uint32_t color ) const 37 | { 38 | return to_hex() == color; 39 | } 40 | 41 | bool Color::operator != ( const Color& color ) const 42 | { 43 | return !( *this == color ); 44 | } 45 | 46 | bool Color::operator != ( const uint32_t color ) const 47 | { 48 | return !( *this == color ); 49 | } 50 | 51 | uint8_t& Color::operator [] ( const size_t index ) 52 | { 53 | return m_Color[ index ]; 54 | } 55 | 56 | const uint8_t& Color::operator [] ( const size_t index ) const 57 | { 58 | return m_Color[ index ]; 59 | } 60 | 61 | uint8_t& Color::operator () ( const size_t index ) 62 | { 63 | return at( index ); 64 | } 65 | 66 | const uint8_t& Color::operator () ( const size_t index ) const 67 | { 68 | return at( index ); 69 | } 70 | 71 | uint8_t& Color::at( const size_t index ) 72 | { 73 | return m_Color.at( std::clamp( index, 74 | static_cast( 0 ), 75 | static_cast( 3 ) ) 76 | ); 77 | } 78 | 79 | const uint8_t& Color::at( const size_t index ) const 80 | { 81 | return m_Color.at( std::clamp( index, 82 | static_cast( 0 ), 83 | static_cast( 3 ) ) 84 | ); 85 | } 86 | 87 | Color Color::operator + ( const Color& color ) 88 | { 89 | Color_t buf; 90 | for( size_t i = 0; i < 4; ++i ) { 91 | buf.at( i ) = std::clamp( at( i ) + color( i ), 0, 255 ); 92 | } 93 | return Color( buf ); 94 | } 95 | 96 | Color& Color::operator += ( const Color& color ) 97 | { 98 | for( size_t i = 0; i < 4; ++i ) { 99 | at( i ) = std::clamp( at( i ) + color( i ), 0, 255 ); 100 | } 101 | return *this; 102 | } 103 | 104 | Color Color::operator - ( const Color& color ) 105 | { 106 | Color_t buf; 107 | for( size_t i = 0; i < 4; ++i ) { 108 | buf.at( i ) = std::clamp( at( i ) - color( i ), 0, 255 ); 109 | } 110 | return Color( buf ); 111 | } 112 | 113 | Color& Color::operator -= ( const Color& color ) 114 | { 115 | for( size_t i = 0; i < 4; ++i ) { 116 | at( i ) = std::clamp( at( i ) - color( i ), 0, 255 ); 117 | } 118 | return *this; 119 | } 120 | 121 | uint32_t Color::to_hex() const 122 | { 123 | return static_cast( at( 3 ) << 24 | 124 | at( 0 ) << 16 | 125 | at( 1 ) << 8 | 126 | at( 2 ) ); 127 | } 128 | 129 | void Color::set( const uint32_t color ) 130 | { 131 | at( 3 ) = static_cast( color >> 24 & 0xFF ); 132 | at( 0 ) = static_cast( color >> 16 & 0xFF ); 133 | at( 1 ) = static_cast( color >> 8 & 0xFF ); 134 | at( 2 ) = static_cast( color & 0xFF ); 135 | } 136 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Device2D.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace render; 4 | 5 | Device2D::~Device2D() 6 | { 7 | /// Call to a virtual function inside a destructor will be statically resolved 8 | DTOR_EXECUTE_VIRTUAL( shutdown ); 9 | } 10 | 11 | bool Device2D::create( const std::string& target_window_title ) 12 | { 13 | if( !Overlay::create( target_window_title ) ) { 14 | return false; 15 | } 16 | if( FAILED( D2D1CreateFactory( D2D1_FACTORY_TYPE_MULTI_THREADED, 17 | __uuidof( ID2D1Factory ), 18 | nullptr, 19 | reinterpret_cast( &m_Direct2DFactory ) 20 | ) ) ) { 21 | return false; 22 | } 23 | 24 | RECT rect; 25 | GetClientRect( m_WndOverlay, &rect ); 26 | 27 | auto size = D2D1::SizeU( rect.right - rect.left, rect.bottom - rect.top ); 28 | if( FAILED( 29 | m_Direct2DFactory->CreateHwndRenderTarget( 30 | D2D1::RenderTargetProperties( 31 | D2D1_RENDER_TARGET_TYPE_HARDWARE, 32 | D2D1::PixelFormat( 33 | DXGI_FORMAT_UNKNOWN, 34 | D2D1_ALPHA_MODE_PREMULTIPLIED 35 | ) 36 | ), 37 | D2D1::HwndRenderTargetProperties( 38 | m_WndOverlay, 39 | size, 40 | D2D1_PRESENT_OPTIONS_IMMEDIATELY 41 | ), 42 | &m_Direct2DHwndRenderTarget ) ) ) { 43 | return false; 44 | } 45 | 46 | if( FAILED( DWriteCreateFactory( DWRITE_FACTORY_TYPE_SHARED, 47 | __uuidof( IDWriteFactory ), 48 | reinterpret_cast( &m_DirectWriteFactory ) ) 49 | ) ) { 50 | return false; 51 | } 52 | if( FAILED( m_Direct2DHwndRenderTarget->CreateSolidColorBrush( 53 | D2D1::ColorF( 0xFFFFFFFF ), 54 | &m_Diect2DColorBrush ) 55 | ) ) { 56 | return false; 57 | } 58 | 59 | m_Surface = std::make_unique( m_DirectWriteFactory, m_Diect2DColorBrush ); 60 | return m_Surface->initialize( m_Direct2DHwndRenderTarget ); 61 | } 62 | 63 | bool Device2D::render() 64 | { 65 | /// handle window messages 66 | if( !Overlay::render() ) { 67 | return false; 68 | } 69 | 70 | m_Direct2DHwndRenderTarget->BeginDraw(); 71 | m_Direct2DHwndRenderTarget->SetTransform( D2D1::Matrix3x2F::Identity() ); 72 | m_Direct2DHwndRenderTarget->Clear(); 73 | 74 | /// start the surface scene only when the target window 75 | /// is in foreground 76 | if( in_foreground() ) { 77 | /// if the surface has successfully started a new scene 78 | if( m_Surface->begin_scene() ) { 79 | ///------------------------------------------------------------------------------------------------- 80 | /// begin the rendering here 81 | ///------------------------------------------------------------------------------------------------- 82 | execute_callbacks(); 83 | ///------------------------------------------------------------------------------------------------- 84 | /// stop the rendering here 85 | ///------------------------------------------------------------------------------------------------- 86 | m_Surface->end_scene(); 87 | } 88 | } 89 | 90 | m_Direct2DHwndRenderTarget->EndDraw(); 91 | 92 | return true; 93 | } 94 | 95 | void Device2D::shutdown() 96 | { 97 | Overlay::shutdown(); 98 | safe_release( &m_Direct2DFactory ); 99 | safe_release( &m_Direct2DHwndRenderTarget ); 100 | safe_release( &m_DirectWriteFactory ); 101 | safe_release( &m_Diect2DColorBrush ); 102 | } 103 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Font2D.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace render; 4 | 5 | Font2D::Font2D( 6 | const std::string& name, 7 | const int32_t height, 8 | const int32_t weight, 9 | const int32_t flags, 10 | const IDWriteFactory* write_factory ) : 11 | Font( name, height, weight, flags ) 12 | { 13 | set_device( write_factory ); 14 | } 15 | 16 | Font2D::~Font2D() 17 | { 18 | DTOR_EXECUTE_VIRTUAL( shutdown ); 19 | } 20 | 21 | void Font2D::shutdown() 22 | { 23 | safe_release( &m_Direct2DFont ); 24 | } 25 | 26 | bool Font2D::create() 27 | { 28 | if( !m_Direct2DWFactory ) { 29 | return false; 30 | } 31 | 32 | safe_release( &m_Direct2DFont ); 33 | return SUCCEEDED( m_Direct2DWFactory->CreateTextFormat( 34 | Overlay::convert_string_to_wide( m_Name ).c_str(), 35 | nullptr, 36 | static_cast( m_Weight ), 37 | DWRITE_FONT_STYLE_NORMAL, 38 | static_cast( m_Flags ), 39 | static_cast( m_Height ), 40 | L"en-Us", 41 | &m_Direct2DFont ) 42 | ) ? true : false; 43 | } 44 | 45 | IDWriteTextFormat* Font2D::get_font() const 46 | { 47 | return m_Direct2DFont; 48 | } 49 | 50 | void Font2D::set_device( 51 | const IDWriteFactory* write_factory ) 52 | { 53 | m_Direct2DWFactory = const_cast( write_factory ); 54 | } 55 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Font3D9.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace render; 3 | 4 | Font3D9::Font3D9( 5 | const std::string& name, 6 | const int32_t height, 7 | const int32_t weight, 8 | const int32_t flags, 9 | const IDirect3DDevice9Ex* device ) : 10 | Font( name, height, weight, flags ) 11 | { 12 | set_device( device ); 13 | } 14 | 15 | Font3D9::~Font3D9() 16 | { 17 | DTOR_EXECUTE_VIRTUAL( shutdown ); 18 | } 19 | 20 | void Font3D9::shutdown() 21 | { 22 | safe_release( &m_Direct3DXFont ); 23 | } 24 | 25 | bool Font3D9::create() 26 | { 27 | if( !m_Direct3D9Device ) { 28 | return false; 29 | } 30 | 31 | /// release previous data 32 | safe_release( &m_Direct3DXFont ); 33 | return SUCCEEDED( D3DXCreateFontA( m_Direct3D9Device, 34 | m_Height, 35 | 0U, 36 | static_cast( m_Weight ), 37 | 1U, 38 | FALSE, 39 | DEFAULT_CHARSET, 40 | OUT_DEFAULT_PRECIS, 41 | m_Flags, 42 | DEFAULT_PITCH | FF_DONTCARE, 43 | m_Name.c_str(), 44 | &m_Direct3DXFont ) 45 | ) ? true : false; 46 | } 47 | 48 | ID3DXFont* Font3D9::get_font() const 49 | { 50 | return m_Direct3DXFont; 51 | } 52 | 53 | void Font3D9::set_device( 54 | const IDirect3DDevice9Ex* device ) 55 | { 56 | m_Direct3D9Device = const_cast( device ); 57 | } 58 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Surface.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace drawing; 3 | using namespace render; 4 | 5 | Surface::~Surface() 6 | { 7 | } 8 | 9 | Font_t Surface::get_font( 10 | const std::string& name ) 11 | { 12 | std::shared_lock lock( m_mutex ); 13 | return !name.empty() && m_Fonts.count( name ) != 0 14 | ? m_Fonts.at( name ) 15 | : nullptr; 16 | } 17 | 18 | void Surface::shutdown() 19 | { 20 | std::unique_lock lock( m_mutex ); 21 | for( auto& kp : m_Fonts ) { 22 | kp.second->shutdown(); 23 | } 24 | m_Fonts.clear(); 25 | } 26 | 27 | void Surface::border_box( 28 | const int32_t x, 29 | const int32_t y, 30 | const int32_t w, 31 | const int32_t h, 32 | const int32_t thickness, 33 | const Color& color ) 34 | { 35 | insert_rect_angle( x, y, w, thickness, color ); 36 | insert_rect_angle( x, y, thickness, h, color ); 37 | insert_rect_angle( x + w, y, thickness, h, color ); 38 | insert_rect_angle( x, y + h, w + thickness, thickness, color ); 39 | } 40 | 41 | void Surface::border_box_outlined( 42 | const int32_t x, 43 | const int32_t y, 44 | const int32_t w, 45 | const int32_t h, 46 | const int32_t thickness, 47 | const Color& color, 48 | const Color& outlined, 49 | const int32_t thickness_outline ) 50 | { 51 | border_box( x, y, w, h, thickness, color ); 52 | border_box( 53 | x - thickness_outline, 54 | y - thickness_outline, 55 | w + thickness + thickness_outline, 56 | h + thickness + thickness_outline, 57 | thickness_outline, 58 | outlined 59 | ); 60 | border_box( 61 | x + thickness, 62 | y + thickness, 63 | w - thickness - thickness_outline, 64 | h - thickness - thickness_outline, 65 | thickness_outline, 66 | outlined 67 | ); 68 | } 69 | 70 | void Surface::rect( 71 | const int32_t x, 72 | const int32_t y, 73 | const int32_t w, 74 | const int32_t h, 75 | const Color& color ) 76 | { 77 | insert_rect_angle( x, y, w, h, color ); 78 | } 79 | 80 | void Surface::rect_outlined( 81 | const int32_t x, 82 | const int32_t y, 83 | const int32_t w, 84 | const int32_t h, 85 | const int32_t thickness, 86 | const Color& color, 87 | const Color& outlined ) 88 | { 89 | insert_rect_angle( x, y, w, h, color ); 90 | border_box( x - thickness, 91 | y - thickness, 92 | w + thickness, 93 | h + thickness, 94 | thickness, 95 | outlined 96 | ); 97 | } 98 | 99 | void Surface::line( 100 | const int32_t start_x, 101 | const int32_t start_y, 102 | const int32_t end_x, 103 | const int32_t end_y, 104 | const Color& color ) 105 | { 106 | insert_line( start_x, start_y, end_x, end_y, color ); 107 | } 108 | 109 | void Surface::text( 110 | const int32_t x, 111 | const int32_t y, 112 | const std::string& font_name, 113 | const Color& color, 114 | const std::string& message ) 115 | { 116 | if( m_Initialized.load() ) { 117 | auto font = get_font( font_name ); 118 | if( font ) { 119 | text( x, y, font, color, message ); 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/Surface2D.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "render/Overlay.hpp" 3 | using namespace drawing; 4 | using namespace render; 5 | 6 | Surface2D::~Surface2D() 7 | { 8 | /// Call to a virtual function inside a destructor will be statically resolved 9 | DTOR_EXECUTE_VIRTUAL( shutdown ); 10 | } 11 | 12 | Surface2D::Surface2D( 13 | const IDWriteFactory* write_factory, 14 | const ID2D1SolidColorBrush* color_brush ) 15 | { 16 | set_write_factory( write_factory ); 17 | set_color_brush( color_brush ); 18 | } 19 | 20 | bool Surface2D::initialize( const void* device ) 21 | { 22 | if( device ) { 23 | m_Direct2DHwndRenderTarget = static_cast( 24 | const_cast( device ) 25 | ); 26 | } 27 | m_Initialized = m_Diect2DColorBrush && 28 | m_DirectWriteFactory && 29 | m_Direct2DHwndRenderTarget; 30 | 31 | return m_Initialized.load(); 32 | } 33 | 34 | bool Surface2D::begin_scene() 35 | { 36 | return m_Initialized.load(); 37 | } 38 | 39 | Font_t Surface2D::add_font( 40 | const std::string& name, 41 | const std::string& definition, 42 | const int32_t height, 43 | const int32_t weight, 44 | const int32_t flags ) 45 | { 46 | if( !m_Initialized.load() || 47 | name.empty() || 48 | definition.empty() ) { 49 | return nullptr; 50 | } 51 | 52 | std::unique_lock lock( m_mutex ); 53 | if( m_Fonts.count( name ) ) { 54 | return m_Fonts.at( name ); 55 | } 56 | 57 | auto font = std::make_shared( 58 | definition, 59 | height, 60 | weight, 61 | flags, 62 | m_DirectWriteFactory 63 | ); 64 | if( !font->create() ) { 65 | return nullptr; 66 | } 67 | 68 | m_Fonts.emplace( name, std::move( font ) ); 69 | return m_Fonts.at( name ); 70 | } 71 | 72 | void Surface2D::end_scene() 73 | { 74 | if( m_Initialized.load() ) { 75 | render_data(); 76 | } 77 | } 78 | 79 | void Surface2D::shutdown() 80 | { 81 | Surface::shutdown(); 82 | safe_release( &m_Direct2DHwndRenderTarget ); 83 | safe_release( &m_DirectWriteFactory ); 84 | safe_release( &m_Diect2DColorBrush ); 85 | } 86 | 87 | void Surface2D::text( 88 | const int32_t x, 89 | const int32_t y, 90 | const Font_t& font, 91 | const Color& color, 92 | const std::string& message ) 93 | { 94 | if( !m_Initialized.load() || !font || message.empty() ) { 95 | return; 96 | } 97 | 98 | render_data(); 99 | auto direct_draw_font = std::static_pointer_cast( font ); 100 | 101 | const auto X = static_cast( x ); 102 | const auto Y = static_cast( y ); 103 | const auto font_rect = D2D1::RectF( 104 | X, 105 | Y, 106 | X + static_cast( message.length() ) * static_cast( direct_draw_font->height() / 2 ), 107 | static_cast( direct_draw_font->height() ) 108 | ); 109 | 110 | /// convert the message to an unicode string 111 | const auto message_unicode = Overlay::convert_string_to_wide( message ); 112 | 113 | m_Diect2DColorBrush->SetColor( D2D1::ColorF( color.to_hex() ) ); 114 | m_Direct2DHwndRenderTarget->DrawTextW( 115 | message_unicode.c_str(), 116 | static_cast( message_unicode.length() ), 117 | direct_draw_font->get_font(), 118 | &font_rect, 119 | m_Diect2DColorBrush 120 | ); 121 | } 122 | 123 | void Surface2D::set_render_target( 124 | const ID2D1HwndRenderTarget* render_target ) 125 | { 126 | m_Direct2DHwndRenderTarget = const_cast( render_target ); 127 | } 128 | 129 | void Surface2D::set_write_factory( 130 | const IDWriteFactory* write_factory ) 131 | { 132 | m_DirectWriteFactory = const_cast( write_factory ); 133 | } 134 | 135 | void Surface2D::set_color_brush( 136 | const ID2D1SolidColorBrush* color_brush ) 137 | { 138 | m_Diect2DColorBrush = const_cast( color_brush ); 139 | } 140 | 141 | void Surface2D::render_data() 142 | { 143 | if( !m_Initialized.load() ) { 144 | return; 145 | } 146 | 147 | std::unique_lock lock( m_mutex ); 148 | for( const auto& data : m_RectAngles ) { 149 | const auto& x = static_cast( std::get<0>( data ) ); 150 | const auto& y = static_cast( std::get<1>( data ) ); 151 | const auto& w = static_cast( std::get<2>( data ) ); 152 | const auto& h = static_cast( std::get<3>( data ) ); 153 | const auto clr = std::get<4>( data ).to_hex(); 154 | const auto rect = D2D1::RectF( x, y, x + w, y + h ); 155 | m_Diect2DColorBrush->SetColor( D2D1::ColorF( clr ) ); 156 | m_Direct2DHwndRenderTarget->FillRectangle( &rect, m_Diect2DColorBrush ); 157 | } 158 | for( const auto& data : m_Lines ) { 159 | const auto& start_x = static_cast( std::get<0>( data ) ); 160 | const auto& start_y = static_cast( std::get<1>( data ) ); 161 | const auto& end_x = static_cast( std::get<2>( data ) ); 162 | const auto& end_y = static_cast( std::get<3>( data ) ); 163 | const auto clr = std::get<4>( data ).to_hex(); 164 | 165 | m_Diect2DColorBrush->SetColor( D2D1::ColorF( clr ) ); 166 | m_Direct2DHwndRenderTarget->DrawLine( 167 | { 168 | start_x, 169 | start_y, 170 | }, 171 | { 172 | end_x, 173 | end_y, 174 | }, 175 | m_Diect2DColorBrush 176 | ); 177 | } 178 | 179 | /// clear the old data 180 | m_Lines.clear(); 181 | m_RectAngles.clear(); 182 | } 183 | -------------------------------------------------------------------------------- /IMGUI Version/aero-overlay/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "../hacks/pch.h" 4 | using namespace render; 5 | 6 | std::unique_ptr create_overlay( const EDeviceType type, const std::string& window_title ) 7 | { 8 | auto overlay = Overlay::New( type ); 9 | if( !overlay ) { 10 | return nullptr; 11 | } 12 | if( !overlay->create( window_title ) ) { 13 | return nullptr; 14 | } 15 | 16 | auto surface = overlay->get_surface(); 17 | if( !surface ) { 18 | return nullptr; 19 | } 20 | 21 | const auto is_d3d9 = type == EDeviceType::Direct3D9; 22 | 23 | if (!surface->add_font( 24 | "12", 25 | "Segoe UI", 26 | is_d3d9 ? 12 : 9, 27 | is_d3d9 ? FW_HEAVY : DWRITE_FONT_WEIGHT_NORMAL, 28 | /// or DEFAULT_QUALITY instead of PROOF_QUALITY for anti aliasing 29 | is_d3d9 ? PROOF_QUALITY : DWRITE_FONT_STRETCH_NORMAL 30 | )) { 31 | return nullptr; 32 | } 33 | if (!surface->add_font( 34 | "13", 35 | "Segoe UI", 36 | is_d3d9 ? 13 : 10, 37 | is_d3d9 ? FW_HEAVY : DWRITE_FONT_WEIGHT_NORMAL, 38 | /// or DEFAULT_QUALITY instead of PROOF_QUALITY for anti aliasing 39 | is_d3d9 ? PROOF_QUALITY : DWRITE_FONT_STRETCH_NORMAL 40 | )) { 41 | return nullptr; 42 | } 43 | if( !surface->add_font( 44 | "14", 45 | "Segoe UI", 46 | is_d3d9 ? 14 : 11, 47 | is_d3d9 ? FW_HEAVY : DWRITE_FONT_WEIGHT_NORMAL, 48 | /// or DEFAULT_QUALITY instead of PROOF_QUALITY for anti aliasing 49 | is_d3d9 ? PROOF_QUALITY : DWRITE_FONT_STRETCH_NORMAL 50 | ) ) { 51 | return nullptr; 52 | } 53 | if (!surface->add_font( 54 | "15", 55 | "Segoe UI", 56 | is_d3d9 ? 15 : 12, 57 | is_d3d9 ? FW_HEAVY : DWRITE_FONT_WEIGHT_NORMAL, 58 | /// or DEFAULT_QUALITY instead of PROOF_QUALITY for anti aliasing 59 | is_d3d9 ? PROOF_QUALITY : DWRITE_FONT_STRETCH_NORMAL 60 | )) { 61 | return nullptr; 62 | } 63 | if (!surface->add_font( 64 | "18", 65 | "Segoe UI", 66 | is_d3d9 ? 18 : 14, 67 | is_d3d9 ? FW_HEAVY : DWRITE_FONT_WEIGHT_NORMAL, 68 | /// or DEFAULT_QUALITY instead of PROOF_QUALITY for anti aliasing 69 | is_d3d9 ? PROOF_QUALITY : DWRITE_FONT_STRETCH_NORMAL 70 | )) { 71 | return nullptr; 72 | } 73 | 74 | return std::move( overlay ); 75 | } 76 | void initall() 77 | { 78 | int ProcessId = ProcManager::getAowProcID(); 79 | if (!ProcessId) 80 | { 81 | MessageBox(0, L"SONIC LOOP Not Found Exiting...", L"Error", MB_OK); 82 | exit(1); 83 | } 84 | g_pMemoryManager->init(ProcessId, true); 85 | if (!g_pMemoryManager->DriverLoaded) { 86 | MessageBox(0, L"Error Loading Driver", L"Error", MB_OK); 87 | exit(1); 88 | } 89 | g_pEsp->viewWordBase = g_pEsp->getViewWorld(); 90 | //g_pEsp->GetModuleBaseAddress(ProcessId, "aow_exe.exe"); 91 | 92 | /*IF YOU NEED MAGIC THEN DONATE FOR FURTHER DEVLOPMENT I NEED TO UPDATE DRIVER ALSO FOR THAT & THIS IS DEMO NOT WORKING*/ 93 | //g_pEsp->GetMagic(); 94 | //g_pEsp->initMagic(); 95 | 96 | //THIS BOTH WORKING IN SMARTGAGA 97 | //g_pEsp->ipadview(); 98 | //g_pEsp->initBoost(); 99 | g_pEsp->init(); 100 | } 101 | void updateesp() 102 | { 103 | while (1) 104 | { 105 | g_pEsp->update(); 106 | } 107 | } 108 | 109 | void updateaim() 110 | { 111 | while (1) 112 | { 113 | if (g_pAimbot->aimbot) 114 | { 115 | g_pAimbot->updateaim(); 116 | } 117 | if (g_pAimbot->boostenabled) 118 | { 119 | g_pAimbot->Boostplayer(); 120 | } 121 | g_pAimbot->IpadV(); 122 | } 123 | } 124 | int32_t main( int32_t argc, char** argv ) 125 | { 126 | //USE X64 DEBUG OR RELESE VERSION ONLY 127 | initall(); 128 | CreateThread(0, 0, (LPTHREAD_START_ROUTINE)updateesp, 0, 0, 0); 129 | CreateThread(0, 0, (LPTHREAD_START_ROUTINE)updateaim, 0, 0, 0); 130 | 131 | std::unique_ptr overlay = nullptr; 132 | overlay = create_overlay( EDeviceType::Direct3D9, "RIXOT ALWAYS OP" ); 133 | auto* callback = overlay->add_callback( 134 | "show", []( Surface* surface ) { 135 | } 136 | ); 137 | if( !callback ) { 138 | return EXIT_FAILURE; 139 | } 140 | 141 | while( overlay->render() ) { 142 | overlay->scale_overlay(); 143 | std::this_thread::sleep_for( std::chrono::milliseconds( 1 ) ); 144 | } 145 | 146 | overlay->shutdown(); 147 | return EXIT_SUCCESS; 148 | } 149 | -------------------------------------------------------------------------------- /IMGUI Version/build/Release-x64/RIXOT-IMGUI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/IMGUI Version/build/Release-x64/RIXOT-IMGUI.exe -------------------------------------------------------------------------------- /Main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | 4 | #include "DirectX.h" 5 | 6 | #include 7 | #include 8 | 9 | #include 10 | #include 11 | #pragma comment(lib, "d3d9.lib") 12 | #pragma comment(lib, "d3dx9.lib") 13 | 14 | #include 15 | #pragma comment(lib, "dwmapi.lib") 16 | 17 | extern int Width; 18 | extern int Height; 19 | extern char lWindowName[256]; 20 | extern HWND hWnd; 21 | extern char tWindowName[256]; 22 | extern HWND tWnd; 23 | extern RECT tSize; 24 | extern MSG Message; 25 | extern bool Debug_Border; 26 | 27 | LRESULT CALLBACK WinProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam); 28 | int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hSecInstance, LPSTR nCmdLine, INT nCmdShow); 29 | void SetWindowToTarget(); 30 | 31 | #endif -------------------------------------------------------------------------------- /MemoryManager.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | 4 | MemoryManager* g_pMemoryManager = new MemoryManager(); 5 | 6 | 7 | MemoryManager::MemoryManager(){} 8 | 9 | 10 | MemoryManager::~MemoryManager(){} 11 | 12 | FTTransform2_t MemoryManager::ReadFTransform2(DWORD vAddv) { 13 | return Driver.ReadVirtualMemory(processId,vAddv,sizeof(FTTransform2_t)); 14 | } 15 | void MemoryManager::init(int pid, bool debug){ 16 | 17 | // Find AOW Process Id 18 | int threadCount = 0; 19 | processId = pid; 20 | if(!processId){ 21 | if(debug){ 22 | std::cout << termcolor::red << "Gameloop Process Id Not Found. Searching For Process... \n" << termcolor::reset; 23 | } 24 | HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 25 | PROCESSENTRY32 pe; 26 | pe.dwSize = sizeof(PROCESSENTRY32); 27 | Process32First(hSnap, &pe); 28 | while(Process32Next(hSnap, &pe)){ 29 | if(_tcsicmp(pe.szExeFile, _T("aow_exe.exe")) == 0){ 30 | if(pe.cntThreads > threadCount){ 31 | threadCount = pe.cntThreads; pid = pe.th32ProcessID; 32 | } 33 | } 34 | } 35 | processId = pid; 36 | } 37 | if(debug){ 38 | std::cout << termcolor::blue << "PID : " << termcolor::green << pid << " \n" << termcolor::reset; 39 | } 40 | DriverLoaded = Driver.hDriver > 0 ? true : false; 41 | 42 | if(processId){ 43 | // Get process handle 44 | processHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, processId); 45 | if(debug){ 46 | std::cout << termcolor::blue << "HWND : " << termcolor::green << std::hex << (int)processHandle << std::dec << " \n" << termcolor::reset; 47 | } 48 | if(processHandle){ 49 | allIsWell = true; 50 | } 51 | } else{ 52 | if(debug){ 53 | std::cout << termcolor::red << "Gameloop Process Id Not Found. Make Shoure gameloop is Open and game is Running.\n" << termcolor::reset; 54 | } 55 | } 56 | 57 | } 58 | 59 | void MemoryManager::readMemory(PVOID BaseAddress, PVOID Buffer, SIZE_T BufferSize) { 60 | 61 | Driver.ReadSpecial(processId, (DWORD)BaseAddress, Buffer, BufferSize); 62 | } 63 | 64 | bool MemoryManager::search(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet) { 65 | 66 | MEMORY_BASIC_INFORMATION mbi; 67 | std::vector m_vMemoryRegion; 68 | mbi.RegionSize = 0x400; 69 | DWORD dwAddress = dwStartAddr; 70 | 71 | MEMORY_REGION memSectorList[1000]; 72 | 73 | int memSectorIndex = 0; 74 | while (VirtualQueryEx(processHandle, (LPCVOID)dwAddress, &mbi, sizeof(mbi)) && (dwAddress < dwEndAddr) && ((dwAddress + mbi.RegionSize) > dwAddress)) { 75 | if ( 76 | (mbi.State == MEM_COMMIT) && 77 | ((mbi.Protect & PAGE_GUARD) == 0) && 78 | (mbi.Protect != PAGE_NOACCESS) && 79 | ((mbi.AllocationProtect & PAGE_NOCACHE) != PAGE_NOCACHE) 80 | ) { 81 | MEMORY_REGION mData = { 0 }; 82 | mData.dwBaseAddr = (DWORD_PTR)mbi.BaseAddress; 83 | mData.dwMemorySize = mbi.RegionSize; 84 | m_vMemoryRegion.push_back(mData); 85 | memSectorList[memSectorIndex] = mData; 86 | memSectorIndex++; 87 | } 88 | dwAddress = (DWORD)mbi.BaseAddress + mbi.RegionSize; 89 | } 90 | 91 | std::vector::iterator it; 92 | //for(it = m_vMemoryRegion.begin(); it != m_vMemoryRegion.end(); it++){ 93 | int memSectorCount = memSectorIndex; 94 | memSectorIndex = 0; 95 | DWORD_PTR curAddr = dwStartAddr; 96 | while (curAddr < dwEndAddr) { 97 | VirtualQueryEx(processHandle, (LPCVOID)curAddr, &mbi, sizeof(mbi)); 98 | long regionSizeOrg = mbi.RegionSize; 99 | long regionSize = mbi.RegionSize; 100 | if (regionSize > 10) { 101 | BYTE* pCurrMemoryData = new BYTE[regionSize]; 102 | //Driver.ReadSpecial(processId, curAddr, &pCurrMemoryData, regionSize); 103 | //readMemory((PVOID)curAddr, (PVOID*)pCurrMemoryData, regionSize); 104 | /*for (long p = 0; p < regionSize; p++) 105 | { 106 | pCurrMemoryData[p] = Driver.ReadVirtualMemory(processId, curAddr + p, sizeof(BYTE)); 107 | }*/ 108 | Driver.RVM(processId, curAddr, *pCurrMemoryData, regionSize); 109 | DWORD_PTR dwOffset = 0; 110 | int iOffset = find(pCurrMemoryData, regionSize, bSearchData, nSearchSize); 111 | while (iOffset != -1) { 112 | dwOffset += iOffset; 113 | vRet.push_back(dwOffset + curAddr); 114 | dwOffset += nSearchSize; 115 | iOffset = find(pCurrMemoryData + dwOffset, regionSize - dwOffset - nSearchSize, bSearchData, nSearchSize); 116 | } 117 | delete[] pCurrMemoryData; 118 | } 119 | memSectorIndex++; 120 | curAddr = curAddr + (DWORD_PTR)regionSizeOrg; 121 | continue; 122 | } 123 | return TRUE; 124 | } 125 | 126 | 127 | int MemoryManager::find(BYTE* buffer, int dwBufferSize, BYTE* bstr, DWORD dwStrLen) { 128 | if (dwBufferSize < 0) { 129 | return -1; 130 | } 131 | DWORD i, j; 132 | for (i = 0; i < dwBufferSize; i++) { 133 | for (j = 0; j < dwStrLen; j++) { 134 | if (buffer[i + j] != bstr[j]) 135 | if(bstr[j] != '?') 136 | break; 137 | } 138 | if (j == dwStrLen) 139 | return i; 140 | } 141 | return -1; 142 | } 143 | 144 | 145 | DWORD MemoryManager::dRead(DWORD base){ 146 | return Driver.ReadVirtualMemory(processId, base, sizeof(int)); 147 | } 148 | 149 | float MemoryManager::fRead(DWORD base){ 150 | return Driver.ReadVirtualMemory(processId, base, sizeof(float)); 151 | } 152 | int MemoryManager::iRead(DWORD base){ 153 | return Driver.ReadVirtualMemory(processId, base, sizeof(int)); 154 | } -------------------------------------------------------------------------------- /MemoryManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | #include "Utilities.h" 4 | #include "kernelinterface.hpp" 5 | #include 6 | 7 | #define MM_DEVICE_TYPE 0x9999 8 | #define MM_CTL_CODE(x) CTL_CODE(MM_DEVICE_TYPE, 0x800 + x, METHOD_NEITHER, FILE_ANY_ACCESS) 9 | #define MM_READVIRTUALMEMORY MM_CTL_CODE(56) 10 | 11 | typedef struct _MEMORY_REGION{ 12 | DWORD_PTR dwBaseAddr; 13 | DWORD_PTR dwMemorySize; 14 | }MEMORY_REGION; 15 | 16 | class MemoryManager{ 17 | public: 18 | MemoryManager(); 19 | ~MemoryManager(); 20 | 21 | 22 | HANDLE m_hDriver = nullptr; 23 | HANDLE processHandle; 24 | int processId = 0; 25 | bool allIsWell = false; 26 | bool DriverLoaded = false; 27 | PSIZE_T NumberOfBytes = nullptr; 28 | KeInterface Driver = KeInterface("\\\\.\\sametha"); 29 | 30 | FTTransform2_t ReadFTransform2(DWORD vAddv); 31 | void init(int pid, bool debug); 32 | 33 | DWORD dRead(DWORD base); 34 | float fRead(DWORD base); 35 | int iRead(DWORD base); 36 | int find(BYTE* buffer, int dwBufferSize, BYTE* bstr, DWORD dwStrLen); 37 | template type RVM(DWORD ReadAddress, SIZE_T Size); 38 | void readMemory(PVOID BaseAddress, PVOID Buffer, SIZE_T BufferSize); 39 | bool search(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet); 40 | bool MemSearch(BYTE* bSearchData, int nSearchSize, DWORD_PTR dwStartAddr, DWORD_PTR dwEndAddr, BOOL bIsCurrProcess, int iSearchMode, std::vector& vRet); 41 | }; 42 | 43 | 44 | extern MemoryManager* g_pMemoryManager; -------------------------------------------------------------------------------- /ProcManager.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | 4 | ProcManager::ProcManager(){} 5 | 6 | 7 | ProcManager::~ProcManager(){} 8 | 9 | 10 | int ProcManager::getAowProcID(){ 11 | int pid = 0; 12 | int threadCount = 0; 13 | HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 14 | PROCESSENTRY32 pe; 15 | pe.dwSize = sizeof(PROCESSENTRY32); 16 | Process32First(hSnap, &pe); 17 | while(Process32Next(hSnap, &pe)){ 18 | if(_tcsicmp(pe.szExeFile, _T("aow_exe.exe")) == 0){ 19 | if((int)pe.cntThreads > threadCount){ 20 | threadCount = pe.cntThreads; 21 | pid = pe.th32ProcessID; 22 | } 23 | } 24 | } 25 | 26 | return pid; 27 | } -------------------------------------------------------------------------------- /ProcManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pch.h" 3 | 4 | 5 | class ProcManager{ 6 | public: 7 | ProcManager(); 8 | ~ProcManager(); 9 | static int getAowProcID(); 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PUBG Mobile Memory Hacking With ESP, AimBot c++. 2 | Hello Everyone I Had Worked For 5-6 Months on this one To Learn and Dev Some thing like this i Hope You Like it. 3 | 4 | ![PUBG ESP EXAMPLE SCREENSHOT](https://github.com/atulkunal999/pubg_mobile_memory_hacking/blob/main/images/RIXOT_WORKING.png) 5 | 6 | ## TUTORIAL 7 | 8 | [![PUBG ESP TUTORIAL VIDEO](https://i3.ytimg.com/vi/MeQrg4i743s/default.jpg)](https://www.youtube.com/watch?v=MeQrg4i743s) 9 | 10 | ## Important 11 | + Must build In x64 So drivers Works perfectly 12 | + Do not forget to include directx 13 | + If Your are Getting *MAKE SHOURE GAMELOOP IS RUNNING* then you should use unicode charecter set. 14 | + If Window Not Detecting try using FindWindowExW function. 15 | + If your Window not found problem continous then use process Hacker To Find Your Window Classname and Details. 16 | + Works On Version 1.2.0 17 | + Unable to Solve Window Problem Then Use Imgui One 18 | 19 | ## Referances 20 | + AimBot Source Semi Part for on Gameloop 21 | Link : [https://www.unknowncheats.me/] 22 | 23 | + Offsets and Some Memory Class : @atiksoftware 24 | 25 | + Kernal Driver : @dretax 26 | 27 | + Dsefix For Loading Drivers : @hfiref0x 28 | 29 | WARNING: The project is for research purposes only and is not suitable for production environments, misusage, or commercial use 30 | #### If you like this document, you can give a star. Thank you 31 | -------------------------------------------------------------------------------- /RIXOT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/RIXOT.jpg -------------------------------------------------------------------------------- /RIXOT.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30128.74 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectX Overlay", "DirectX Overlay.vcxproj", "{0579EA96-034A-4760-AEF2-FAFD01D48B5C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Win32 = Debug|Win32 11 | Debug|x64 = Debug|x64 12 | Release|Win32 = Release|Win32 13 | Release|x64 = Release|x64 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Debug|Win32.ActiveCfg = Debug|Win32 17 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Debug|Win32.Build.0 = Debug|Win32 18 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Debug|x64.ActiveCfg = Debug|x64 19 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Debug|x64.Build.0 = Debug|x64 20 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Release|Win32.ActiveCfg = Release|Win32 21 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Release|Win32.Build.0 = Release|Win32 22 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Release|x64.ActiveCfg = Release|x64 23 | {0579EA96-034A-4760-AEF2-FAFD01D48B5C}.Release|x64.Build.0 = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {E71C00CA-CCF4-43B8-A9A2-C0714E2DD235} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /Utilities.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | #include "kernelinterface.hpp" 5 | // Vectors 6 | extern struct Vector2 { 7 | float x = 0; 8 | float y = 0; 9 | }; 10 | extern struct Vector3 { 11 | float x = 0; 12 | float y = 0; 13 | float z = 0; 14 | }; 15 | extern struct Vector4 { 16 | float x = 0; 17 | float y = 0; 18 | float z = 0; 19 | float w = 0; 20 | }; 21 | extern struct VectorRect { 22 | int x = 0; 23 | int y = 0; 24 | int w = 0; 25 | int h = 0; 26 | }; 27 | 28 | // its for Player Inventory Box Item 29 | struct Item { 30 | std::string displayName; 31 | Vector3 Position; 32 | int picid; 33 | }; 34 | struct Vehicle { 35 | std::string displayName; 36 | Vector3 Position; 37 | int picid; 38 | }; 39 | // its for entity player weapon details 40 | extern struct playerWeapon { 41 | int ammoCur = 0,itmid = 0; 42 | std::string displayName = ""; 43 | }; 44 | // its for world to screen 45 | extern struct D3DMatrix { 46 | float _11, _12, _13, _14; 47 | float _21, _22, _23, _24; 48 | float _31, _32, _33, _34; 49 | float _41, _42, _43, _44; 50 | }; 51 | extern struct FTTransform2_t { 52 | Vector4 Rotation; 53 | Vector3 Translation; 54 | float ddd; 55 | Vector3 Scale3D; 56 | }; 57 | class Utilities 58 | { 59 | public : 60 | static bool IsPlayer(std::string str); 61 | static Vector3 Readvector3(KeInterface drv, DWORD adds, DWORD ProcessId); 62 | static std::string GetBoxItemByboth(DWORD code, std::string classname); 63 | static std::string GetVehicleType(std::string str); 64 | static std::string GetGrenadeType(std::string classname); 65 | static bool IsBox(std::string classname); 66 | static std::string GetImpItem(DWORD code,std::string classname); 67 | static int GetNameByIDSprite(DWORD id, std::string classname); 68 | }; 69 | struct Itemb { 70 | std::string Displayname; 71 | }; 72 | struct Lootbox { 73 | Vector3 Position; 74 | std::vector boxitem; 75 | }; 76 | struct playerData 77 | { 78 | DWORD Address,Pose; 79 | Vector3 Position,rotation; 80 | int Status, TeamID, Health; 81 | bool IsRobot; 82 | std::string Name, Type; 83 | float energy; 84 | playerWeapon playerW1, playerW2; 85 | }; -------------------------------------------------------------------------------- /communications.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | /* IOCTL Codes needed for our driver */ 6 | 7 | // Request to read virtual user memory (memory of a program) from kernel space 8 | #define IO_READ_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0666 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 9 | 10 | // Request to write virtual user memory (memory of a program) from kernel space 11 | #define IO_WRITE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0667 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 12 | 13 | // Request to retrieve the process id of csgo process, from kernel space 14 | #define IO_GET_ID_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0668 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 15 | 16 | // Request to retrieve the base address of client.dll in csgo.exe from kernel space 17 | #define IO_GET_MODULE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0669 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 18 | 19 | // Request to retrieve the base address of engine.dll in csgo.exe from kernel space 20 | #define IO_GET_ENGINE_MODULE_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0670 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 21 | 22 | // Request size of Client.dll 23 | #define IO_GET_MODULE_REQUEST_LENGTH CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0671 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 24 | 25 | // Request size of Engine.dll 26 | #define IO_GET_ENGINE_MODULE_REQUEST_LENGTH CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0672 /* Our Custom Code */, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) 27 | 28 | 29 | typedef struct _KERNEL_READ_REQUEST 30 | { 31 | ULONG ProcessId; 32 | 33 | ULONG Address; 34 | PVOID pBuff; 35 | ULONG Size; 36 | 37 | } KERNEL_READ_REQUEST, * PKERNEL_READ_REQUEST; 38 | 39 | typedef struct _KERNEL_WRITE_REQUEST 40 | { 41 | ULONG ProcessId; 42 | 43 | ULONG Address; 44 | PVOID pBuff; 45 | ULONG Size; 46 | 47 | } KERNEL_WRITE_REQUEST, * PKERNEL_WRITE_REQUEST; 48 | 49 | 50 | typedef struct _RTL_PROCESS_MODULE_INFORMATION 51 | { 52 | HANDLE Section; 53 | PVOID MappedBase; 54 | PVOID ImageBase; 55 | ULONG ImageSize; 56 | ULONG Flags; 57 | USHORT LoadOrderIndex; 58 | USHORT InitOrderIndex; 59 | USHORT LoadCount; 60 | USHORT OffsetToFileName; 61 | UCHAR FullPathName[256]; 62 | } RTL_PROCESS_MODULE_INFORMATION, * PRTL_PROCESS_MODULE_INFORMATION; 63 | 64 | typedef struct _RTL_PROCESS_MODULES 65 | { 66 | ULONG NumberOfModules; 67 | RTL_PROCESS_MODULE_INFORMATION Modules[1]; 68 | } RTL_PROCESS_MODULES, * PRTL_PROCESS_MODULES; -------------------------------------------------------------------------------- /icons/(1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(1).png -------------------------------------------------------------------------------- /icons/(10).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(10).png -------------------------------------------------------------------------------- /icons/(11).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(11).png -------------------------------------------------------------------------------- /icons/(12).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(12).png -------------------------------------------------------------------------------- /icons/(13).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(13).png -------------------------------------------------------------------------------- /icons/(14).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(14).png -------------------------------------------------------------------------------- /icons/(15).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(15).png -------------------------------------------------------------------------------- /icons/(16).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(16).png -------------------------------------------------------------------------------- /icons/(17).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(17).png -------------------------------------------------------------------------------- /icons/(18).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(18).png -------------------------------------------------------------------------------- /icons/(19).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(19).png -------------------------------------------------------------------------------- /icons/(2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(2).png -------------------------------------------------------------------------------- /icons/(20).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(20).png -------------------------------------------------------------------------------- /icons/(21).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(21).png -------------------------------------------------------------------------------- /icons/(22).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(22).png -------------------------------------------------------------------------------- /icons/(23).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(23).png -------------------------------------------------------------------------------- /icons/(24).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(24).png -------------------------------------------------------------------------------- /icons/(25).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(25).png -------------------------------------------------------------------------------- /icons/(26).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(26).png -------------------------------------------------------------------------------- /icons/(27).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(27).png -------------------------------------------------------------------------------- /icons/(28).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(28).png -------------------------------------------------------------------------------- /icons/(29).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(29).png -------------------------------------------------------------------------------- /icons/(3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(3).png -------------------------------------------------------------------------------- /icons/(30).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(30).png -------------------------------------------------------------------------------- /icons/(31).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(31).png -------------------------------------------------------------------------------- /icons/(32).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(32).png -------------------------------------------------------------------------------- /icons/(33).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(33).png -------------------------------------------------------------------------------- /icons/(34).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(34).png -------------------------------------------------------------------------------- /icons/(35).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(35).png -------------------------------------------------------------------------------- /icons/(36).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(36).png -------------------------------------------------------------------------------- /icons/(37).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(37).png -------------------------------------------------------------------------------- /icons/(38).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(38).png -------------------------------------------------------------------------------- /icons/(39).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(39).png -------------------------------------------------------------------------------- /icons/(4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(4).png -------------------------------------------------------------------------------- /icons/(40).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(40).png -------------------------------------------------------------------------------- /icons/(41).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(41).png -------------------------------------------------------------------------------- /icons/(42).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(42).png -------------------------------------------------------------------------------- /icons/(43).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(43).png -------------------------------------------------------------------------------- /icons/(44).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(44).png -------------------------------------------------------------------------------- /icons/(45).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(45).png -------------------------------------------------------------------------------- /icons/(46).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(46).png -------------------------------------------------------------------------------- /icons/(47).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(47).png -------------------------------------------------------------------------------- /icons/(48).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(48).png -------------------------------------------------------------------------------- /icons/(49).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(49).png -------------------------------------------------------------------------------- /icons/(5).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(5).png -------------------------------------------------------------------------------- /icons/(50).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(50).png -------------------------------------------------------------------------------- /icons/(51).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(51).png -------------------------------------------------------------------------------- /icons/(52).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(52).png -------------------------------------------------------------------------------- /icons/(53).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(53).png -------------------------------------------------------------------------------- /icons/(54).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(54).png -------------------------------------------------------------------------------- /icons/(55).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(55).png -------------------------------------------------------------------------------- /icons/(56).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(56).png -------------------------------------------------------------------------------- /icons/(57).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(57).png -------------------------------------------------------------------------------- /icons/(58).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(58).png -------------------------------------------------------------------------------- /icons/(59).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(59).png -------------------------------------------------------------------------------- /icons/(6).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(6).png -------------------------------------------------------------------------------- /icons/(60).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(60).png -------------------------------------------------------------------------------- /icons/(61).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(61).png -------------------------------------------------------------------------------- /icons/(62).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(62).png -------------------------------------------------------------------------------- /icons/(63).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(63).png -------------------------------------------------------------------------------- /icons/(64).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(64).png -------------------------------------------------------------------------------- /icons/(65).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(65).png -------------------------------------------------------------------------------- /icons/(66).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(66).png -------------------------------------------------------------------------------- /icons/(67).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(67).png -------------------------------------------------------------------------------- /icons/(68).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(68).png -------------------------------------------------------------------------------- /icons/(69).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(69).png -------------------------------------------------------------------------------- /icons/(7).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(7).png -------------------------------------------------------------------------------- /icons/(8).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(8).png -------------------------------------------------------------------------------- /icons/(9).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/icons/(9).png -------------------------------------------------------------------------------- /images/RIXOT_WORKING.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atulkunal999/pubg_mobile_memory_hacking/8bd68fd6657b67f6943d525a2d9afd7f890f4398/images/RIXOT_WORKING.png -------------------------------------------------------------------------------- /images/ReadMe.md: -------------------------------------------------------------------------------- 1 | Here Are Only Images Used In ReadMe.d 2 | -------------------------------------------------------------------------------- /kernelinterface.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #pragma warning( disable : 4101 4244) 3 | 4 | #include "communications.hpp" 5 | 6 | // The interface handler for IOCTL. Thanks Zeromem. 7 | class KeInterface 8 | { 9 | 10 | public: 11 | HANDLE hDriver; // Handle to driver 12 | 13 | // Initializer 14 | KeInterface(LPCSTR RegistryPath) 15 | { 16 | hDriver = CreateFileA(RegistryPath, GENERIC_READ | GENERIC_WRITE, 17 | FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0); 18 | } 19 | 20 | bool RVM(ULONG ProcessId, ULONG ReadAddress, BYTE &Buffer, long Size) 21 | { 22 | // allocate a buffer with specified type to allow our driver to write our wanted data inside this buffer 23 | 24 | DWORD Return, Bytes; 25 | KERNEL_READ_REQUEST ReadRequest; 26 | 27 | 28 | ReadRequest.ProcessId = ProcessId; 29 | ReadRequest.Address = ReadAddress; 30 | 31 | //send the 'address' of the buffer so our driver can know where to write the data 32 | ReadRequest.pBuff = &Buffer; 33 | 34 | ReadRequest.Size = Size; 35 | 36 | // send code to our driver with the arguments 37 | if (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0)) 38 | { 39 | //return our buffer 40 | return true; 41 | } 42 | return false; 43 | } 44 | 45 | template 46 | type ReadVirtualMemory(ULONG ProcessId, ULONG ReadAddress, SIZE_T Size) 47 | { 48 | // allocate a buffer with specified type to allow our driver to write our wanted data inside this buffer 49 | type Buffer; 50 | 51 | DWORD Return, Bytes; 52 | KERNEL_READ_REQUEST ReadRequest; 53 | 54 | 55 | ReadRequest.ProcessId = ProcessId; 56 | ReadRequest.Address = ReadAddress; 57 | 58 | //send the 'address' of the buffer so our driver can know where to write the data 59 | ReadRequest.pBuff = &Buffer; 60 | 61 | ReadRequest.Size = Size; 62 | 63 | // send code to our driver with the arguments 64 | if (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0)) 65 | { 66 | //return our buffer 67 | return Buffer; 68 | } 69 | return Buffer; 70 | } 71 | 72 | template 73 | bool WriteVirtualMemory(ULONG ProcessId, ULONG WriteAddress, type WriteValue, SIZE_T WriteSize) 74 | { 75 | if (hDriver == INVALID_HANDLE_VALUE) 76 | return false; 77 | DWORD Bytes; 78 | 79 | KERNEL_WRITE_REQUEST WriteRequest; 80 | WriteRequest.ProcessId = ProcessId; 81 | WriteRequest.Address = WriteAddress; 82 | 83 | //send driver the 'address' of our specified type WriteValue so our driver can copy the data we want to write from this address to WriteAddress 84 | WriteRequest.pBuff = &WriteValue; 85 | 86 | WriteRequest.Size = WriteSize; 87 | 88 | if (DeviceIoControl(hDriver, IO_WRITE_REQUEST, &WriteRequest, sizeof(WriteRequest), 0, 0, &Bytes, NULL)) 89 | { 90 | return true; 91 | } 92 | return false; 93 | } 94 | 95 | bool ReadSpecial(ULONG ProcessId, DWORD dwAddress, LPVOID lpBuffer, DWORD dwSize) 96 | { 97 | SIZE_T Out = NULL; 98 | 99 | KERNEL_READ_REQUEST ReadRequest; 100 | 101 | ReadRequest.ProcessId = ProcessId; 102 | ReadRequest.Address = dwAddress; 103 | 104 | ReadRequest.pBuff = &lpBuffer; 105 | 106 | ReadRequest.Size = dwSize; 107 | 108 | return (DeviceIoControl(hDriver, IO_READ_REQUEST, &ReadRequest, sizeof(ReadRequest), &ReadRequest, sizeof(ReadRequest), 0, 0) == TRUE); 109 | } 110 | 111 | DWORD GetTargetPid() 112 | { 113 | if (hDriver == INVALID_HANDLE_VALUE) 114 | return false; 115 | 116 | ULONG Id; 117 | DWORD Bytes; 118 | 119 | if (DeviceIoControl(hDriver, IO_GET_ID_REQUEST, &Id, sizeof(Id), 120 | &Id, sizeof(Id), &Bytes, NULL)) 121 | { 122 | return Id; 123 | } 124 | 125 | return false; 126 | } 127 | 128 | DWORD GetClientModule() 129 | { 130 | if (hDriver == INVALID_HANDLE_VALUE) 131 | return false; 132 | 133 | ULONG Address; 134 | DWORD Bytes; 135 | 136 | if (DeviceIoControl(hDriver, IO_GET_MODULE_REQUEST, &Address, sizeof(Address), 137 | &Address, sizeof(Address), &Bytes, NULL)) 138 | { 139 | return Address; 140 | } 141 | return false; 142 | } 143 | 144 | DWORD GetClientModuleSize() 145 | { 146 | if (hDriver == INVALID_HANDLE_VALUE) 147 | return false; 148 | 149 | ULONG Address; 150 | DWORD Bytes; 151 | 152 | if (DeviceIoControl(hDriver, IO_GET_MODULE_REQUEST_LENGTH, &Address, sizeof(Address), 153 | &Address, sizeof(Address), &Bytes, NULL)) 154 | { 155 | return Address; 156 | } 157 | return false; 158 | } 159 | 160 | 161 | DWORD GetEngineModule() 162 | { 163 | if (hDriver == INVALID_HANDLE_VALUE) 164 | return false; 165 | 166 | ULONG Address; 167 | DWORD Bytes; 168 | 169 | if (DeviceIoControl(hDriver, IO_GET_ENGINE_MODULE_REQUEST, &Address, sizeof(Address), 170 | &Address, sizeof(Address), &Bytes, NULL)) 171 | { 172 | return Address; 173 | } 174 | return false; 175 | } 176 | 177 | DWORD GetEngineModuleSize() 178 | { 179 | if (hDriver == INVALID_HANDLE_VALUE) 180 | return false; 181 | 182 | ULONG Address; 183 | DWORD Bytes; 184 | 185 | if (DeviceIoControl(hDriver, IO_GET_ENGINE_MODULE_REQUEST_LENGTH, &Address, sizeof(Address), 186 | &Address, sizeof(Address), &Bytes, NULL)) 187 | { 188 | return Address; 189 | } 190 | return false; 191 | } 192 | 193 | BOOL DataCompare(const BYTE* pData, const BYTE* pMask, const char* pszMask) 194 | { 195 | for (; *pszMask; ++pszMask, ++pData, ++pMask) 196 | { 197 | if (*pszMask == 'x' && *pData != *pMask) 198 | { 199 | return FALSE; 200 | } 201 | } 202 | return (*pszMask == 0); 203 | } 204 | 205 | DWORD Scan(ULONG ProcessId, DWORD dwStart, DWORD dwSize, BYTE* pSignature, const char* pMask) 206 | { 207 | BYTE* pRemote = new BYTE[dwSize]; 208 | if (!ReadSpecial(ProcessId, dwStart, pRemote, dwSize)) 209 | { 210 | delete[] pRemote; 211 | return NULL; 212 | } 213 | for (DWORD dwIndex = 0; dwIndex < dwSize; dwIndex++) 214 | { 215 | if (DataCompare((const BYTE*)(pRemote + dwIndex),pSignature, pMask)) 216 | { 217 | delete[] pRemote; 218 | return (dwStart + dwIndex); 219 | } 220 | } 221 | delete[] pRemote; 222 | return NULL; 223 | } 224 | }; -------------------------------------------------------------------------------- /pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp: Önceden derlenen üst bilgiye karşılık gelen kaynak dosya, tamamlamanın başarılı olması için gerekli 2 | 3 | #include "pch.h" 4 | 5 | // Bu dosyayı genel anlamda yoksayın, ancak önceden derlenmiş üst bilgiler kullanıyorsanız kolayca erişebileceğiniz bir yerde tutun. 6 | -------------------------------------------------------------------------------- /pch.h: -------------------------------------------------------------------------------- 1 |  2 | #ifndef PCH_H 3 | #define PCH_H 4 | 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #pragma comment (lib, "ntdll.lib") 18 | 19 | 20 | 21 | #include "termcolor.h" 22 | #include "ProcManager.h" 23 | #include "MemoryManager.h" 24 | 25 | #include "Esp.h" 26 | 27 | 28 | 29 | #endif //PCH_H 30 | -------------------------------------------------------------------------------- /runsdvui.cmd: -------------------------------------------------------------------------------- 1 | cd /d "E:\CODES\GAME HACKING\NEW HACKING\RIXOT" &msbuild "DirectX Overlay.vcxproj" /t:sdvViewer /p:configuration="Debug" /p:platform="x64" /p:SolutionDir="E:\CODES\GAME HACKING\NEW HACKING\RIXOT" 2 | exit %errorlevel% --------------------------------------------------------------------------------