Offset Pointer Problem >.<

08/29/2012 15:17 cheatcarrot#1
sorry for asking noob question :o but im really stuck in this..

question:
--how to declare in (C++) the resulting address value of pointers and address?

ex:

#define Addr_Base 0x0000000
#define Addr_offset 0x0001
#define Addr_Value ??????


Addr_Base + Addr_offset = Addr_Value;

:confused::confused::confused::confused:
08/29/2012 15:30 genesisVI#2
PHP Code:
*(DWORD*)(*(DWORD*) ADDR_BASE OFFSET1 value
no nid to declare value
08/29/2012 15:40 cheatcarrot#3
Quote:
Originally Posted by genesisVI View Post
PHP Code:
*(DWORD*)(*(DWORD*) ADDR_BASE OFFSET1 value
no nid to declare value
hmm.. then how can i change the value of the new address if it is not declared?

btw: thank you very much sir..
08/29/2012 15:45 genesisVI#4
just type it
PHP Code:
*(DWORD*)(*(DWORD*) ADDR_BASE ADDR_PROC 2
08/29/2012 15:52 cheatcarrot#5
Quote:
Originally Posted by genesisVI View Post
just type it
PHP Code:
*(DWORD*)(*(DWORD*) ADDR_BASE ADDR_PROC 2
ahaha.. silly me.. i didnt notice that..

thanks again
08/30/2012 05:41 rhexillion#6
sir if u have 3 offset.. how will you code that?
08/30/2012 14:23 athori21#7
there's a missing closing parenthesis