assembly array & structs

Discussions Related to Game Hacking and Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

assembly array & structs

Postby maybnxtseasn » Thu Feb 18, 2010 7:48 am

simple question....how do i know if a value in memory while debugging is coming from an array? or if it is a member of a structure or class?
maybnxtseasn
I Have A Few Questions
 
Posts: 7
Joined: Thu Feb 18, 2010 7:41 am

Re: assembly array & structs

Postby L. Spiro » Thu Feb 18, 2010 12:26 pm

Structures are accessed with a base pointer + offset.
Code: Select all
mov eax, [esi+0x80]


Arrays are accessed with an index, typically.
Code: Select all
mov eax, [esi+ecx*4]



L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: assembly array & structs

Postby maybnxtseasn » Fri Feb 19, 2010 11:18 am

thx so much spiro! :D

i'm currently trying to find the player structure in Q4...im a little unsure on how to find this atm this is what i got

DWORD PTR [ESI+BC] i believe this is the pointer to player.health
....variables are never loaded into memory at the same exact spot...same when structures are made....how am i suppose to find where the structure will be placed in memory every time?
maybnxtseasn
I Have A Few Questions
 
Posts: 7
Joined: Thu Feb 18, 2010 7:41 am

Re: assembly array & structs

Postby L. Spiro » Fri Feb 19, 2010 4:43 pm

There are tons of posts on these forums and on all game-hacking sites on how to defeat DMA and create Complex Addresses.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: assembly array & structs

Postby smithdwsn » Fri May 14, 2010 10:16 pm

Yes, there are lots of sites which are provide this type of function. With help of it, you can easily defeat dma and create very complex addresses. All the procedures are given in site. So you have to just follow the instructions.
smithdwsn
I Have A Few Questions
 
Posts: 4
Joined: Fri May 14, 2010 12:49 am


Return to General Related Discussions

Who is online

Users browsing this forum: No registered users and 0 guests