Addy to Offset

Posts 1–9 of 9 · Page 1 of 1
Addy to Offset
Hello! Could you give me the way to calculate the offset from an addy please? Thank you
OFFSET = ADDRESS - MODULEBASE
Depends what you're offsetting against lol.

Say you had a player struct, and that struct contained player HP. To calculate the HP offset you would do

Code:
HPOffset = AddressOfHP - AddressOfStructBase
For example for take weapomgr offset i found

offset = addy - 10000000 but it's wrong...
Quote Originally Posted by xKickAss View Post
For example for take weapomgr offset i found

offset = addy - 10000000 but it's wrong...
LTC ( WeaponMGR ) is a address, not a offset.
Quote Originally Posted by Skulhead = hacked. View Post
LTC ( WeaponMGR ) is a address, not a offset.
MOV DWORD PTR SS:[EBP+144A8],EDI

I found this

144A8 should be the addy, or 0x144A8 is the offset? and if is an addy how get the offset for make hacks?
[EBP+144A8] means the value is treated as a pointer. the EBP register will hold the base address and 0x144A8 is the offset.
Quote Originally Posted by Jason View Post
[EBP+144A8] means the value is treated as a pointer. the EBP register will hold the base address and 0x144A8 is the offset.
Oh ok thank you, sorry i'm newbie on getting addy, i've always leeched it
@x2 up

Then LT client: 10329CD4

has ben 0x10329CD4 ??
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us