2
You guys all right? I am here implemented some features to a game server, I own the PDB file in which I can search the OFFSETS.
I was able to reference the global functions by OFFSET this way :
Arquivo .cpp
pXXX YYY = (pXXX) 0x00403B7F;
Arquivo .h
typedef <tipo_retorno_função>(*pXXX)(<parâmetros>);
extern pXXX YYY;
The problem happened at the time I was trying to reference a method of a class. From what I’ve been reading, it seems that this is a different way of doing it, but what I didn’t understand was: When I tried to reference the Class 1 methods the way I described they worked correctly, but when I did in Class 2 the executable simply gave "crash". One detail is that Class 1 has no constructor and Class 2 yes, all methods are public.
Can someone help me? Thank you.
I’m trying to call this method directly into the executable, I just have the offset. The modifications I’m implementing are in a DLL that hookei.
– Bruno