Jump to content

MAARS
 Share

Recommended Posts

Patcher


Patcher

Patcher is a game guardian library for patching memory address, it provides a simple interface and handle on/off state of patching.

Installation

Download the latest version of patcher from here and add it to your project.

You can also load the latest version of Patcher from the cdn using the following code.

local _, Patcher = pcall(load(gg.makeRequest("https://pastebin.com/raw/wz1sfmWF").content))

 

Usage

 

Make sure to place the Patcher.lua file in the same directory as your script.

local Patcher = require("Patcher")

local il2cpp    = Patcher.getBaseAddr("libil2cpp.so")
local libunity  = Patcher.getBaseAddr("libunity.so")

local p = Patcher.new({
  title = "Custom Title",
})

p:add({
  name    = "Damage Multiplier",
  address = il2cpp + 0x18643A8,
  patch   = "01 04 A0 E3 1E FF 2F E1r",
})

p:add({
  name    = "HP Multiplier",
  address = libunity + 0x1864F88,
  patch   = "01 04 A0 E3 1E FF 2F E1r"
})

p:run()

 

For more information about how to use the library, please check the repo


  • Submitter
  • Submitted
    02/18/2023
  • Category

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.