Getting D3D Device in d3d9.dll
Hello,
I just realized that with engine hook you can only make hacks with strides 40 and 44 atleast for my hook... and i was wondering how to get the d3d device from d3d9.dll ?
this is the code on my PC... any way the device should be the last push
so if the DIP address is 0x6E97BE28... ftw this is the last push before the DIP address... 

really confused can someone explain ? 
I just realized that with engine hook you can only make hacks with strides 40 and 44 atleast for my hook... and i was wondering how to get the d3d device from d3d9.dll ?

this is the code on my PC... any way the device should be the last push
so if the DIP address is 0x6E97BE28... ftw this is the last push before the DIP address... 

really confused can someone explain ? 
Code:
6E80B6B1 8BFF MOV EDI,EDI 6E80B6B3 . 55 PUSH EBP 6E80B6B4 . 8BEC MOV EBP,ESP 6E80B6B6 . 6A FF PUSH -1 6E80B6B8 . 68 28BE976E PUSH d3d9.6E97BE28 6E80B6BD . 64:A1 00000000 MOV EAX,DWORD PTR FS:[0] 6E80B6C3 . 50 PUSH EAX 6E80B6C4 . 83EC 20 SUB ESP,20 6E80B6C7 . 53 PUSH EBX 6E80B6C8 . 56 PUSH ESI 6E80B6C9 . 57 PUSH EDI 6E80B6CA . A1 5092986E MOV EAX,DWORD PTR DS:[6E989250] 6E80B6CF . 33C5 XOR EAX,EBP 6E80B6D1 . 50 PUSH EAX


you never understand me... i just want a pointer to it so i can make wallhack :| @
it was in ESI