D3D9.dll

Posts 1–6 of 6 · Page 1 of 1
D3D9.dll
How do i access the d3d functions of crossfire? cuz in d3d9_29.dll they don't really call any d3d functions, so i have been hacking memory for a long time and i think it's time for me to move on to bigger things. So i figured that they just use the normal d3d9.dll and all i have to do is just debug and find it, but i am asking to make sure i am looking in the right place.

Ok, so to restate my question more clearly:

(This may be a stupid question, but asking won't hurt) Does crossfire just make the d3d calls from d3d9.dll and all i have to do is just load up d3d9.dll in olly and look for function? Cuz i am not sure if they just have their own version that they call from or something like that.



EDIT:======================
KK, i relooked over d3d29.dll and found somecalls to d3d functions but i want to know if this is the right place to look. Any help is appreciated. Thanks in advance.













EDIT:================

NEVERMIND, sorry this is embarassing. I found where it makes it's calls in crossfire.exe. Thanks though for reading. If you have any advice though, please say, i appreciate it.
Still have any other questions?
if no, request close this thread...
Um, ya i got a question... I found a call to GetProcAddress in crossfire.exe and it loaded up Direct3DCreate from d3d.dll. So, i was following the assembly to see what it's doing with it, and it didn't do anything really. It basically did this "d3d = Direct3DCreate(20h)" and that parameter is 32 in decimal form which refers to SDK_VERSION or something like that. Then it calls [EAX + 20] and eax has the return address of Direct3DCreate which is a pointer to a IDIRECT3D9 interface so i don't know exactly what function is [EAX + 20] but i know it isn't create device, so how do you find d3d functions in crossfire?
the easiest method to locate crossfire.exe calls to d3d functions (i dont really know why u want) is searching this constant :6AD280
it is the pDevice..
edit====================

Ok, well this is what i am trying to do gini, i am just trying to find a function that is being called continuously so that i can mid function hook it. I already have a mid func. hook working for where crossfire is checking for the debuggers, but it isn't called enough for me to actually get a hotkey hack workin. So do you know a good place where i can hook so that it will be called continously? You can pm me it if you want, cuz z8games will see it and fix it, so u can pm me. THx.
Ok, i will check it out and reply back, thx gini.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us