Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

BullyWiiPlaza/function-patcher-example

 
 

Repository files navigation

Function Patcher Example

This repository contains examples for patching/hooking functions on the Wii U.

  • It requires kernel access.
  • Static and dynamic functions are supported. It will try to guess the type, keep an eye on the udp log!
  • Aquire the RPL before patching a function.

This version has split the actual patcher and the functions that will be patched in different files. The actual function patcher can be split into multiple files. Check out the "patcher" folder for an example.

If you have any question, feel free to open an issue.

Building

In order to build this application, you need the custom liboGC and portlibs modified/created by dimok. You can find them on the loadiine_gx2 repo (https://github.com/dimok789/loadiine_gx2/releases/tag/v0.2). Simply put the files in your devkit folder and run make.

Credits

Chadderz - made the first tools including the first version of the "function patcher". Still using his "magic" defines ;)

A big thanks goes out to dimok for creating the HBL, the dynamic libs, kernel stuff and every other stuff he made. He helped me a lot when I tried to patch dynamic functions. Many parts of the code are based on his code.