$ show InvoxiPlayGames/UsbdSecPatch
This repository provides an Xbox 360 kernel patch to enable unauthorized USB devices (e.g., custom controllers) to function by bypassing authentication and interface checks. It consists of two components: a Dashlaunch plugin (DLL) that patches the kernel at runtime via DllMain, and a XeBuild patch (binary) for permanent kernel modification. The plugin dynamically resolves kernel function addresses using ordinal exports or hardcoded addresses based on kernel version, then patches UsbdIsDeviceAuthenticated to return true and conditionally modifies WgcAddDevice (and WgcBindToUser for devkit 17489) using PowerPC instruction replacement. Build scripts automate patch generation for multiple kernel versions using a PowerPC toolchain.
The LLM identified 1 files worth highlighting for reuse:
Provides macros for PowerPC instruction encoding (LI, LIS, ADDI, etc.) and memory poking (POKE_8, POKE_16, POKE_32). This header is self-contained and reusable in any PowerPC-based patching or emulation project without modification. It demonstrates skill in abstracting low-level hardware operations into a portable interface.