Thread: Module: MemHack
View Single Post
Blackhawk
Member
Join Date: Apr 2005
Old 02-12-2006 , 08:42  
Reply With Quote #30

19379432 is 127B4E8 and that is correct, whatsoever when the dllbase is 01050000, this code example shouldn't work if MEM_DLLBASE would be valid.
127B4E8 is the exact adress WITH DLLBASE.

If i understand it right,
Code:
new Pointer = memhack_get_pointer(19379432,MEM_DLLBASE,MEMTYPE_DATA)
would calculate as follows: Add the offset Parameter 1 to the base address of MEM_DLLBASE and get the pointer adress back. As this sample above already is Base + offset, if MEM_DLLBASE is something other than 0 (as base address), i would never get an correct pointer back.....

But this sample works!
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline