Advertisement
MrCheeze

OoT total control example payload

Dec 15th, 2019
952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. lui t9, 0x0807 # setup self to run in game
  2. addiu t9, t9, 0x741A
  3. lui $at, 0x8002
  4. sw $t9, 0x0100($at)
  5.  
  6. addiu t9, r0, 0x000C # revert the 000C corruption
  7. lui $at, 0x800D
  8. addiu $at, $at, 0x1020 # needed because we can't type E0 or F2
  9. sh $t9, 0xD0D2($at)
  10.  
  11. lui $at, 0x800F # make link's tunic rainbow
  12. lh $t9, 0x7AD8($at)
  13. addiu $t9, $t9, 0x0F11
  14. sh $t9, 0x7AD8($at)
  15.  
  16. addiu t9, r0, 0xE4E4 # set max speed to -0x1C1C
  17. lui $at, 0x801C
  18. addiu $at, $at, 0x1020 # needed because we can't type E0 or F2
  19. sh $t9, 0x6EDE($at)
  20.  
  21. jr $ra
  22. nop
  23.  
  24.  
  25. 3C 19 08 07
  26. 27 39 74 1A
  27. 3C 01 80 02
  28. AC 39 01 00
  29.  
  30. 24 19 00 0C
  31. 3C 01 80 0D
  32. 24 21 10 20
  33. A4 39 D0 D2
  34.  
  35. 3C 01 80 0F
  36. 84 39 7A D8
  37. 27 39 0F 11
  38. A4 39 7A D8
  39.  
  40. 24 19 E4 E4
  41. 3C 01 80 1C
  42. 24 21 00 20
  43. A4 39 6E DE
  44.  
  45. 03 E4 00 08
  46. 00 00 00 00
  47. # use E4 for ret because we can't type E0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement