How to get value of pointer?
I have static pointer, I found it in Cheat Engine (x and y of the player) How can I display it in the box after injecting it to the game? I'm looking for some example
int iValue = *reinterpret_cast< int* >( 0xDEADBEEF );
struct player_t
{
int X, Y;
};
player_t Player = *reinterpret_cast< player_t* >( 0xDEADBEEF );