View Single Post
  #10  
Old 23rd February 2007, 06:38 AM
SubDrag's Avatar
SubDrag SubDrag is offline
McLovin
 
Join Date: Apr 1999
Location: USA
Total Awards: 3
INFECTED - B1K1 Awesome Default Medal Random Award 
It's not always subtract 3 actually. It just so happens in this case. What you've got is that it is 32-bit byte flipped.

So:
0 -> 3
1 -> 2
2 -> 1
3 -> 0
4 -> 7
5 -> 6
6 -> 5
7 -> 4
etc.

Also, PJ64 virtual address starts at 3AD70000, so to find your code address add the code address to this virtual address, and then you'll need to do the little flip thing at the end.
Reply With Quote