Results 1 to 10 of 21

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    beBoss
    beBoss is offline
    New member beBoss's Avatar
    Join Date
    2010 Nov
    Location
    In her heart
    Posts
    9
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Re: [Delphi] Memory Modification Tutorial & Template

    As I say you need base address + offset

    And one fucntion which may help you:

    Code:
     function GetAddyfrmpointer(baseaddress:dword;offset:dword):dword; 
    var 
    	a: dword; 
    	x: dword; 
    	i: integer; 
    	offsetcount: integer; 
    	offsets:array of dword; 
    	b:integer; 
    	maxid:integer; 
    begin 
    	offsetcount:=1; 
    	b:=0; 
    	setlength(offsets,1); 
    	offsets[b]:=offset; 
    	a:=baseaddress; 
    	i:=0; 
    	while (i<offsetcount) do 
    		begin 
    			if not readprocessmemory(processhandle,pointer(a),@a,4,x) then exit; 
    			inc(a,offsets[i]); 
    			inc(i); 
    			result:=a 
    		end; 
    end;
    and then you can use it like this:
    Code:
     real_address:=GetAddyfrmpointer($your_base,$your_offset);
    [Please, register to view links]
    Живота е като терена или ставаш силен, блокираш, сваляш и оцеляваш
    или се отказваш, падаш и си заминаваш !


    beBoss™

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •