Beispiel #1
0
 public PatchCheat(string name, ulong address, byte[] patch) : base(name)
 {
     this.address = address;
     this.patch   = patch;
     MommyMem.unprotectMemory(address, (ulong)patch.Length);
     original = MommyMem.readAob(address, (ulong)patch.Length);
 }
Beispiel #2
0
 public InfMonkeyMoneyReward() : base("Infinite MM Reward")
 {
     address = (ulong)MommyMem.gameAssembly + 0x48E110;
     patch   = MommyMem.ceByte2Bytes("55 48 8b ec b8 FF FF FF 7F 5d c3");
     MommyMem.unprotectMemory(address, (ulong)patch.Length);
     original = MommyMem.readAob(address, (ulong)patch.Length);
 }
Beispiel #3
0
 public InfCash() : base("Infinite Cash")
 {
     address = (ulong)MommyMem.gameAssembly + 0x3EF310;
     patch   = MommyMem.ceByte2Bytes("ff f5 48 89 e5 f2 0f 10 05 02 00 00 00 5d c3 FF FF FF FF FF FF EF 7F cc");
     MommyMem.unprotectMemory(address, (ulong)patch.Length);
     original = MommyMem.readAob(address, (ulong)patch.Length);
 }
 public InfMonkeyMoney() : base("Infinite MM", (ulong)MommyMem.gameAssembly + 0x2928D0, MommyMem.ceByte2Bytes("55 48 89 e5 f3 0f 10 05 02 00 00 00 5d c3 FF FF 7F 7F cc"))
 {
 }
 public PlaceAnywhere() : base("Place Anywhere", (ulong)MommyMem.gameAssembly + 0x46B580, MommyMem.ceByte2Bytes("55 48 8b ec b8 01 00 00 00 5d c3"))
 {
 }
Beispiel #6
0
 public override void onDisable()
 {
     MommyMem.writeAob(address, original);
 }
Beispiel #7
0
 public override void onEnable()
 {
     MommyMem.writeAob(address, patch);
 }