How pointers work

Posts 1–5 of 5 · Page 1 of 1
How pointers work
I was bored, so I wrote this info.

A pointer points to another adress, which could be the adress for fly as example.
A static pointer (example CShell.dll + 133AFG) can point to another static adress
(example CShell.dll + B62482) or to an unstatic adress (example 0A426241).

Sometimes pointers point to another pointer (example pointer CShell.dll + 133AFB points to 0A426241, which points to 00B81234).
Pointers often got an offset (example pointer CShell.dll + 133AFB points to 0A426241 + 1A ( = 0A42625B )).

Another example :
The pointer CShell.dll + 133AFB points to 074C9354. It has the offset 128.
This adress is another pointer, 0A42625B. The new pointer has the offset 5B.

CShell.dll + 133AFB = 074C9354
074C9354 + 128 = 074C947C

074C947C = 0A42625B
0A42625B + 5B = 0A4262B6

If you want to create a hack, which uses pointers, you have to find a static pointer and every offset.
Then read the adress of the pointer and add the offset, read the new adress, ... .

I won't public the code, because there are too many leechers in this section.
nice tutorial
Quote Originally Posted by derh.acker View Post
I was bored, so I wrote this info.

A pointer points to another adress, which could be the adress for fly as example.
A static pointer (example CShell.dll + 133AFG) can point to another static adress
(example CShell.dll + B62482) or to an unstatic adress (example 0A426241).

Sometimes pointers point to another pointer (example pointer CShell.dll + 133AFB points to 0A426241, which points to 00B81234).
Pointers often got an offset (example pointer CShell.dll + 133AFB points to 0A426241 + 1A ( = 0A42625B )).

Another example :
The pointer CShell.dll + 133AFB points to 074C9354. It has the offset 128.
This adress is another pointer, 0A42625B. The new pointer has the offset 5B.

CShell.dll + 133AFB = 074C9354
074C9354 + 128 = 074C947C

074C947C = 0A42625B
0A42625B + 5B = 0A4262B6

If you want to create a hack, which uses pointers, you have to find a static pointer and every offset.
Then read the adress of the pointer and add the offset, read the new adress, ... .

I won't public the code, because there are too many leechers in this section.
Publish what code?
Quote Originally Posted by HeavenlyRage View Post
Publish what code?
The code which you need to find pointers in your hack
Nice tut
of course finding static pointers is easy.

when you are using CE, you scan a value then set HWBP on write, then trace the info
if it is dynamic, you can easily find static one the same way.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us