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

# voidHook()

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

# Description :

This method will call destination methods when target method are called naturally in game. First the destination method will get called and then target method will be called. So unlike callAnotherMethod this method doesnot override the target function.

In unity games there is a function called update in different classes that gets called every frame. Thats why we commonly use update method offset as target offset. But non update offsets can also be used.

# Switch Off :

    HackersHouse.voidHookOff({
        { ['libName'] = "libil2cpp",
          ['targetOffset'] = 0x1000,
          ['destinationOffset'] = 0x1500,
        },
        { ['libName'] = "libil2cpp",
          ['targetOffset'] = 0x1000,
          ['destinationOffset'] = 0x2000,
        }
    })
  
Copy

In this method you have to pass both target and destination offset for disabling the cheat cause a single target offset can be used to call multiple destination methods.

# 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 static void Update() { }

    // RVA: 0x2000 Offset: 0x2000
    // public void AddHealth(float health) { }

    HackersHouse.voidHook({
        { ['libName'] = "libil2cpp",
          ['targetOffset'] = 0x1000,
          ['destinationOffset'] = 0x2000,
          ['parameters'] ={ {"float", 999999} }, 
          ['repeat'] = 1,
          ['libIndex'] = 'auto'
        }
    })

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

Copy