Starting from version 9.4 in VB Decompiler is built much more powerful tool for editing files - HEX editor, accessible from the main window along with the decompiled code. HEX editor allows you to edit the file as a byte and blocks and supports jumping to the virtual addresses as well as the offsets. There is the copy and paste the data and undo/redo functions. In view of this, the patcher has lost its relevance and removed from new versions of VB Decompiler.
It often happens that after analyzing your code you need to change a part of this code. You use VB Decompiler to analyze code from time to time. And sometimes it turned out that you need to change just a part of your code. And for this, you run a HEX editor and change certain bytes. That doesn't look convenient, does it? But not anymore. Now you can use patcher - a special tool, built-in in VB Decompiler. You can find it on the menu "Tools" -> "Patch data".
The patcher window looks like this:
It is very easy to work with patcher. Type an address of the byte you want to edit in the Virtual Address field and press "Enter" or click the "Get" button. You'll see the bytes located near the specified address in the "Data" field and you'll be able to edit the specified byte. After this, click the "Set" button and the specified byte will be changed.
If you check the Fast decompilation option and uncheck the Cache decompiled code option in the Program options then after closing the patcher window all the changes will be applied to the function which bytes you edited. For this, reopen the function by double clicking its name in the tree.
Important: this feature is intended only for changing YOUR OWN programs and analyzing harmful code in antivirus laboratories. Please, read carefully the license agreement before changing the third-party software code.