Problem with if-codes as pointer and gecko registers as pointer..

Started by CosmoCortney, December 07, 2014, 07:04:22 PM

Previous topic - Next topic

CosmoCortney

It's me again, sorry.
But I've been trying to make an if greater than conditional of a pointer code..

48000000 804691B8
DE000000 00008180
14001F24 XXXXXXXX

I want that if XXXXXXXX is greater than 81300000 the next lines are enabled.
QuoteTo use po instead of ba, change the codetype from 24 to 34.

48000000 344691B8
DE000000 00008180 // is this line still needed here?
14001F24 81300000


Is it correct? (i assume it isn't)

and i'd like to load into gecko register from a pointer and store something back into its address.


Bully@Wiiplaza

#1
Hello Cortney,

48000000 804691B8 # Load 804691B8 into pointer address
DE000000 80008180 # Value at 804691B8 must be between 8000000 and 81800000
34001F24 XXXXXXXX # If value at address (value at 804691B8) + 1F24 is greater than XXXXXXXX
# Write something
E0000000 80008000 # Reset code execution status

I hope this helped!
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

CosmoCortney

yes, thank you!
seems obvious since 14XXXXXX is 04XXXXXX + 10 to ba..