How to Reverse Engineering structures from games?

Posts 15 of 5 · Page 1 of 1
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
Quote Originally Posted by distiny View Post
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
First step is to get rid of your disgusting avatar.

Second step is to find the base addie of the class and begin loggin offsets.
How would one go about finding the base address of the class?
Are you trying to get the value of a memory address in the game?
no... that's not a structure lol
Posts 15 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?