Hackers House Last seen recently
Hello, How can we help you?

# hijackParameters()

    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
What inputs are supported by what attributes?

# Description :

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.

# Switch Off :

    HackersHouse.hijackParametersOff({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1000,
      },
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1020,
      }
    })
  
Copy

# Examples :

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

# These topics might be interesting to you.