HackersHouse.hijackParameters({
{ ['libName'] = "libil2cpp",
['offset'] = 0x1000,
['parameters'] ={ {"int", 1},
{"float", 2},
{"bool", true}},
['libIndex'] = 'auto'
},
{ ['libName'] = "libil2cpp",
['offset'] = 0x1020,
['parameters'] ={ {"int", 1},
{"float", 2},
{"bool", true}},
['libIndex'] = 'auto'
}
})
Copy
HackersHouse.hijackParameters({ { ['libName'] = "libil2cpp", ['offset'] = 0x1000, ['parameters'] ={ { "int", 1}, { "float", 2}, { "bool", true}}, ['libIndex'] = 'auto' }, { ['libName'] = "libil2cpp", ['offset'] = 0x1020, ['parameters'] ={ { "int", 1}, { "float", 2}, { "bool", true}}, ['libIndex'] = 'auto' } })
This method will change the parameters passed into a function. The function has to called naturally by game.
You just need the offset of the method you want to change the parameters of. Whenever the method gets called naturally in the game it will be executed with overwritten parameters.
HackersHouse.hijackParametersOff({
{ ['libName'] = "libil2cpp",
['offset'] = 0x1000,
},
{ ['libName'] = "libil2cpp",
['offset'] = 0x1020,
}
})
Copy
HackersHouse.hijackParametersOff({ { ['libName'] = "libil2cpp", ['offset'] = 0x1000, }, { ['libName'] = "libil2cpp", ['offset'] = 0x1020, } })
The commented code is an example of function you will find in dump.cs. And the code below that shows how to modify the working of that function.
// RVA: 0x2000 Offset: 0x2000
// public void
// AddCurrency(float diamonds, int money){}
HackersHouse.hijackParameters({
{ ['libName'] = "libil2cpp",
['offset'] = 0x2000,
['parameters'] ={ { "float", 9999},
{ "int", 9999}},
['libIndex'] = 'auto'
}
})
HackersHouse.hijackParametersOff({
{ ['libName'] = "libil2cpp",
['offset'] = 0x2000,
}
})
Copy
-- RVA: 0x2000 Offset: 0x2000 -- public void AddCurrency(float diamonds, int money) { } HackersHouse.hijackParameters({ { ['libName'] = "libil2cpp", ['offset'] = 0x2000, ['parameters'] ={ { "float", 9999}, { "int", 9999}}, ['libIndex'] = 'auto' } }) HackersHouse.hijackParametersOff({ { ['libName'] = "libil2cpp", ['offset'] = 0x2000, } })