Injects arbitrary code into a client's game.
- devkitPPC
mkdir out
/opt/devkitpro/powerpc-eabi-as -mgekko -mregnames ./source/mario_kart_wii_remote_code_execution.S -o ./out/mario_kart_wii_remote_code_execution.o
/opt/devkitpro/powerpc-eabi-ld -Ttext 0x80000000 ./out/mario_kart_wii_remote_code_execution.o
/opt/devkitpro/powerpc-eabi-objcopy -O binary ./out/mario_kart_wii_remote_code_execution.o ./out/mario_kart_wii_remote_code_execution.bin
Branch to the compiled assembly code from the appropriate address. After the assembly code has finished executing, redirect code execution to the instruction following the original branch instruction.