- Code:
-
1) Lui t0 $Upper 16bits of pointer + 0x0880
2) Lw t0 $Lower 16bits of pointer(t0)
3) Lui t1 $Upper 16bits of code value
4) Ori t1 t1 $Lower 16bits of code value
5) Sw t1 $Offset(t0)
6) Jr ra
Line 1 - 2: Loads the value of your pointer into t0
Line 3 - 4: Loads your hex value into t1
Line 5: Stores your hex value to your dma address, making the code turn on
Line 6: Jump to the ra, just think of this as the end of the code
You will also need a hook, if you don't know how to write a basic subroutine (Not dma) then try that first, let me know if you have any questions (Also let me know if you are completely new to this, if so I will reply with a lot more information, this post is already assuming that you know how to write a basic subroutine)
EDIT:
Example code:
0xFFFFFFFF 0x00123456
0x00000040 0xABCDEF11
MIPS:
Lui t0 $0892
Lw t0 $3456
Lui t1 $ABCD
Ori t1 t1 $EF11
Sw t1 $0040(t0)
Jr ra
EDIT TWO:
You said you wanted a real code example on the chatbox so here:
#Kill Everything
;By TheEliteOne aka -LeetGamer-
;Soldiers, pesants, even bosses die.
;Might freeze when you exit/enter a movie.
;Or change areas.
0xFFFFFFFF 0x002A9D14
0x00000160 0x00000000
#Kill Everything - No Freeze
;By TheEliteOne aka -LeetGamer-
;Soldiers, pesants, even bosses die.
;you can't turn & run at the same time.
0x0000F064 0x0e2a0683
0x00281A0C 0x3c0808ab
0x00281A10 0x8d089d14
0x00281A14 0x3c090000
0x00281A18 0xad090160
0x00281A1C 0x03e00008
That is for assassin's creed bloodlines. Let me know if you need anything.