WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: strakn on March 15, 2011, 04:58:48 PM

Title: Multiple Pointers..help
Post by: strakn on March 15, 2011, 04:58:48 PM
I've seen this code for a moonjump

[spoiler]Moon Jump [Mathew_Wi]
28404486 FEFF0100
48000000 806A79CC
DE000000 80008180
14000098 42080000
E2000002 80008000
28404487 FEFF0100
48000000 806A7A50
DE000000 80008180
14000098 42080000
E2000002 80008000
28404486 FEFF0100
48000000 806A7A54
DE000000 80008180
14000098 42080000
E2000002 80008000
28404487 FEFF0100
48000000 8040E10C
DE000000 80008180
14000098 42080000
E2000002 80008000[/spoiler]

Is there a method to find just a single pointer that always points to the (in this case) height velocity?
I may try to make an asm version of this but I think it would be easiest if there was just one pointer to deal with.
Title: Re: Multiple Pointers..help
Post by: Deathwolf on March 15, 2011, 05:20:16 PM
does it freez?

Moon Jump [Mathew_Wi]
28404486 FEFF0100
48000000 806A79CC
DE000000 80008180
48000000 806A7A50
DE000000 80008180
48000000 806A7A54
DE000000 80008180
48000000 8040E10C
DE000000 80008180
14000098 42080000
E0000000 80008000


Title: Re: Multiple Pointers..help
Post by: Nutmeg on March 16, 2011, 01:02:51 AM
^that isn't the code he posted.  The code has values writtent to every pointer, not just one.  I don't think the code you posted will work.
Title: Re: Multiple Pointers..help
Post by: dcx2 on March 17, 2011, 10:04:08 PM
It looks like he's just trying four different pointers.  Perhaps the original pointer moves around?

This might be solved with a pointer-in-pointer.  Try Dr. Pepper's pointer search app.

You could also walk the stack to figure out the pointer-in-pointer stuff without writing an ASM code.