Sign in to follow this  
pwinhere

Darkfall - Hook into D3DX9

Recommended Posts

Hello there, I'm currently working on making a overlay for Darkfall but I've come across a problem and thought maybe someone here could help. I have my api hooks in place and I believe they work, but the problem is I cant hook to the dll I want (D3DX9_39.dll) because that DLL is not loaded when the exe loads, it is loaded by another dll which is loaded by Kernel32. Lobby.exe loads up d3d9.dll and I can hook to the Direct3DCreate9 procedure and it works but apparently the game runs on the other dll D3DX9_39.dll When testing out by loading Darkfall.exe the following happens: Darkfall.exe starts, loads Kernel32.dll from the import table, Kernel32.dll loads SFMiddleWare.dll using LoadLibrary, then SFMiddleWare.dll somehow loads D3DX9_39.dll The hook code I got only hooks to a dll that is loaded from the import table, I've been playing around with trying to hook into kernel32 and seeing if SFMiddleWare is loading D3DX9_39 through LoadLibrary and then maybe trying to inject my dll through the address space but havent had much results. If anyone has any tips on the subject they would be very much appreciated. Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this