HackersHouse.returnValue({
{ ['libName'] = "libil2cpp",
['offset'] = 0x1000,
['valueType'] = "int",
['value'] = 1111,
['libIndex'] = 'auto'
},
{ ['libName'] = "libil2cpp",
['offset'] = 0x1020,
['valueType'] = "bool",
['value'] = true,
['libIndex'] = 'auto'
}
})
Copy
HackersHouse.returnValue({ { ['libName'] = "libil2cpp", ['offset'] = 0x1000, ['valueType'] = "int", ['value'] = 1111, ['libIndex'] = 'auto' }, { ['libName'] = "libil2cpp", ['offset'] = 0x1020, ['valueType'] = "bool", ['value'] = true, ['libIndex'] = 'auto' } })
This method will modify methods so that return values can be overwritten by users.
You can't use this on void methods cause return values are not expected from void methods.
HackersHouse.returnValueOff({
{ ['libName'] = "libil2cpp",
['offset'] = 0x1000
},
{ ['libName'] = "libil2cpp",
['offset'] = 0x1020
}
})
Copy
HackersHouse.returnValueOff({ { ['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 int GetCoins(){}
HackersHouse.returnValue({
{ ['libName'] = "libil2cpp",
['offset'] = 0x2000,
['valueType'] = "int",
['value'] = 9999,
['libIndex'] = 'auto'
}
})
HackersHouse.returnValueOff({
{ ['libName'] = "libil2cpp",
['offset'] = 0x2000
}
})
Copy
-- RVA: 0x2000 Offset: 0x2000 -- public int GetCoins(){} HackersHouse.returnValue({ { ['libName'] = "libil2cpp", ['offset'] = 0x2000, ['valueType'] = "int", ['value'] = 9999, ['libIndex'] = 'auto' } }) HackersHouse.returnValueOff({ { ['libName'] = "libil2cpp", ['offset'] = 0x2000 } })