|
Thread |
Forum |
Last Post |
Posts |
Views |
 |
[Help] VMT Hook Csgo
Posted on: Wed 17. Feb 2016, 02:15
VitaminZ
Preview
Go To Post
Hello, I have been looking around at vmt hooks on multiple forums and don't want to just c+p one, I want to figure out the coding behind it and hopefully others can understand as well. So far I have decompiled CSGO and found the D3d Device located here. I also found the index for end scene 42 (42 * 4) 0xA8 ok, so so far I found the d3d device and the variable for endscene in it. Now we want to draw our own d3d internalz. So far this is what I have done, any comments suggestions, pointers would be helpful in this process. TEXT Code: HRESULT MyEndScene(LPDIRECT3DDEVICE9 pDevice) { DrawBox(100, 100, 100, 100, D3DCOLOR_ARGB(0, 0, 0, 0), D3DCOLOR_ARGB(0, 0, 0, 0), pDevice); } void VMT_HOOK() { DWORD addr_OfEnd_Scene = (DWORD)(GetModuleHandleA("shaderapidx9.dll")) + 0x1D56D8 + 0xA8; }
|
Counter-Strike: Global Offensive |
Wed 17. Feb 2016, 20:50
by VitaminZ
|
2 |
1094 |
 |
[Help] VMT Hook Csgo
Posted on: Wed 17. Feb 2016, 02:15
VitaminZ
Preview
Go To Post
Yes, I see many different hooks on different forums some using asm, some not. I am just saying I got this far so what exactly should I do now to implement my own dx function before endscene.
|
Counter-Strike: Global Offensive |
Wed 17. Feb 2016, 20:50
by VitaminZ
|
2 |
1094 |