lundi 10 février 2014

Hexadecimal calculations with FindPattern? topic




After receiving an address using FindPattern, whats the best way to jump to another address via hex calculation?
For example, let's say I got back the address of "0x76EEDWA3" from FindPattern() and I want to jump to "0x76EEDRAE "- how could I achieve it?
I imagine it would be doing something like :

DWORD firstAddressFromFindPattern = 0x76EEDWA3;
0x76EEDWA3 - 0x76EEDRAE = 0xW1
DWORD firstAddressFromFindPattern += 0xW1;

Now firstAddressFromFindPattern would equal 0x76EEDRAE.

Any methods?
Thanks in advance.





Aucun commentaire:

Enregistrer un commentaire