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.
|