Pointer help!!

Started by ZiT, January 04, 2009, 02:54:11 PM

Previous topic - Next topic

ZiT

Target address:909FC1DC

[[8068F0E4]+4]-7C4

What do you do to code this?

I tried the following codes, but failed.

48000000 8068F0E4
DE000000 80008180
58010000 00000004
DE000000 90009380
14FFF83C 47C34F80
E0000000 80008000

and

48000000 8068F0E4
DE000000 80008180
58010000 00000004
DE000000 90009380
58010000 FFFFF83C
14000000 47C34F80
E0000000 80008000



Igglyboo

FFFFFFFF - 7C4 = FFFFF83B
FFFFFFFF - 7C4 != FFFFF83C

ZiT

The cord did not work even if I made it "FFFFF83B".
Mmm

Igglyboo

Well, thats odd.
Other than the incorrect offset I don't see anything wrong with your code.

Romaap

double check if [[8068F0E4]+4]-7C4 is the right address?

hawkeye2777

Maybe this would work?

48000000 8068F0E4
DE000000 xxxxxxxx
58010000 00000004
DE000000 xxxxxxxx
58010000 FFFFF83B
DE000000 xxxxxxxx
14000000 47C34F80
E0000000 80008000

I'm not sure what the checks for valid pointers (DE000000 80008180 or DE000000 90009380) should be, so I filled those in with xxxxxxxx.
Currently "retired" from hacking codes.

ZiT

8068F0E4 805BA034

(805BA034 + 4 = 805BA038)

805BA038 909FC9A0

909FC9A0 -7C4 = 909FC1DC

Mmm~



ZiT

I tried the following code, but the code did not work.

48000000 8068F0E4
DE000000 80008180
58010000 00000004
DE000000 90009380
58010000 FFFFF83B
DE000000 90009380
14000000 47C34F80
E0000000 80008000

Mmmmm~~

Y.S.

#8
Quote8068F0E4 805BA034

(805BA034 + 4 = 805BA038)

805BA038 909FC9A0

909FC9A0 -7C4 = 909FC1DC

Then, the code would be...

48000000 8068F0E4
DE000000 80008180
58010000 00000004
5A010000 FFFFF83C
DE000000 90009380
14000000 47C34F80
E0000000 80008000



5A010 : po = po+XXXXXXXX

ZiT

Quote from: Y.S. on January 05, 2009, 12:40:31 AM
Quote8068F0E4 805BA034

(805BA034 + 4 = 805BA038)

805BA038 909FC9A0

909FC9A0 -7C4 = 909FC1DC

Then, the code would be...

48000000 8068F0E4
DE000000 80008180
58010000 00000004
5A010000 FFFFF83B
DE000000 90009380
14000000 47C34F80
E0000000 80008000



5A010 : po = po+XXXXXXXX


Oh!! Yes!! Yes!!

The code worked wonderfully!!

Thank You Y.S.!!
:cool: :cool: :cool: