I am trying to include some C2 instructions into a F6 code. The working code base for it would be:
F6000001 800080FF
806305AC C01A0040
14000008 60000000 -> here is the nop. but I want to write the C2 below!
E0000000 80008000
C2XXXXXX 00000003
3D804040 618C0000
91830018 C0430018
60000000 00000000
-> "load value 40400000 into a float"
how can I do that, please help :-[
Thanks a LOT ;D
first make sure on which address the 806305AC value starts.
example on 8037498C and your C2 hook address starts at 8037499B.
8037499B - 8037498C = 0F
F6000001 800080FF
806305AC C01A0040
D200000F 00000003
3D804040 618C0000
91830018 C0430018
60000000 00000000
E0000000 80008000
awesome, thanks
The F6 code searches for a specific series of values in memory and, when it finds these values, it puts the corresponding address into the po. That's why you can't use a C2 code...instead you must use the D2, which is the po version of the C2 code.