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

# returnValue()

    HackersHouse.returnValue({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1000,
        ['valueType'] = "int",
        ['value'] = 1111,
        ['libIndex'] = 'auto'
      },
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x1020,
        ['valueType'] = "bool",
        ['value'] = true,
        ['libIndex'] = 'auto'
      }
    })
  
Copy
What inputs are supported by what attributes?

# Description :

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.

# Switch Off :

    HackersHouse.returnValueOff({
      { ['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 int GetCoins(){}

    HackersHouse.returnValue({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x2000,
        ['valueType'] = "int",
        ['value'] = 9999,
        ['libIndex'] = 'auto'
      }
    })

    HackersHouse.returnValueOff({
      { ['libName'] = "libil2cpp",
        ['offset'] = 0x2000
      }
    })

Copy

# These topics might be interesting to you.