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

# callAnotherMethod()

    HackersHouse.callAnotherMethod({
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1000,
        ['destinationOffset'] = 0x1500,
        ['parameters'] ={ { "int", 1}, 
                          { "float", 2}, 
                          { "bool", true}}, 
        ['libIndex'] = 'auto'
      },
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1500,
        ['destinationOffset'] = 0x2000,
        ['parameters'] ={ { "int", 1}, 
                          { "float", 2}, 
                          { "bool", true}}, 
        ['libIndex'] = 'auto'
      }
    })
  
Copy
What inputs are supported by what attributes?

# Description :

This method will redirect method call to another. The distination method will run whenever target method is called by game.

Target method will be overwritten and wont run. Only the distination method will run.

# Switch Off :

    HackersHouse.callAnotherMethodOff({
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1000,
      },
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1500,
      }
    })
  
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: 0x1000 Offset: 0x1000
    // public void Death(){}

    // RVA: 0x2000 Offset: 0x2000
    // public void SetCoins(int addcoin){}

    HackersHouse.callAnotherMethod({
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1000,
        ['destinationOffset'] = 0x2000,
        ['parameters'] ={ { "int", 9999}}, 
        ['libIndex'] = 'auto'
      }
    })

    HackersHouse.callAnotherMethodOff({
      { ['libName'] = "libil2cpp",
        ['targetOffset'] = 0x1000,
      }
    })

Copy

# These topics might be interesting to you.