How to Reverse Engineering structures from games?
I would like to know how to get structures like for example (MW3):
Code:
typedef struct
{
char _0x0000[8];
int Width; //0x0008
int Height; //0x000C
char _0x0010[20];
char GameType[4]; //0x0024
char _0x0028[28];
char HostName[64]; //0x0044
char _0x0084[196];
int MaxClients; //0x0148
char _0x014C[4];
char MapName[64]; //0x0150
}cgs_t;//Size=0x0190
How do I get to these, instead of asking x22 I'd like to learn this myself.
Could anyone point me in the right direction, has a tutorial or wanting to share it themselves.
Thanks in advance
Are you trying to get the value of a memory address in the game?
no... that's not a structure lol
How would one go about finding the base address of the class?