Hi every one,
I'm trying to use getobjectbyguid in process with my injected dll hooking endscene.
here is my code
Code:
typedef DWORD_PTR (__cdecl * tGetObjectByGuid)(unsigned __int64 Guid, int a1);
tGetObjectByGuid oGetObjectByGuid = reinterpret_cast<tGetObjectByGuid>(0x007BE110);
and i'm using it like this :
Code:
DWORD_PTR ObjectReturned = oGetObjectByGuid(LocalGuid,1);
Where LocalGuid is a unsigned __int64. ( I've checked and it contains the right value )
But the function seems to always return 0, no wow crash nothing but 0 ^^
Does anaybody know where i'm wrong and can show me the right direction ?
I've searched but didn't found a topic where it was called in process.
Thanks