Hello Guys, Another quick Question:
I recently found out about CGAMEUI:Target(UInt64 GUID).
Now I was trying to call it, it always resulted in a crash due to an access violation on returning to EndScene after the Detour. I even added the adress manually, but it didn't work?
It's really confusing?
Now to find out wheter the function needs two stack elements with the GUID split into HIGH and LOW or just the adress to it, I used OllyDBG.
My Problem is OllyDBG has _NO_ Function-Descriptions completely nothing.
IDA has these, but not the ability to debug.
Now my question is how do you guys do? Do you have Debugfiles or smth helping?
I also think about hooking EndScene in SourceEngine, but there I also have no sucess as even tho I have the Sourcecode,
I don't find these Functions in the Memory?!
Am I doing it Completely wrong?
And: Is Target() eventually needing the ClntObjMgrGetActivePlayerObj
Edit: I followed another tutorial using IDA and there he gets CD3DBase::EndScene() by loading d3d9.dll.
If I'm trying this i get sub_XYZ even tho it finds the debug information?
Ok: Checking the Subs Adress in the Offset Thread and naming them really helps. Now Checking out the DUMP.
My Error was that I expected a stdcall, but infact it was a cdecl.
But the Problem is that I cannot get the dwords (I tried to reverse it completely)