This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "DetourHook.hpp" | |
#define POWERPC_REGISTERINDEX_R0 0 | |
#define POWERPC_REGISTERINDEX_R1 1 | |
#define POWERPC_REGISTERINDEX_R2 2 | |
#define POWERPC_REGISTERINDEX_R3 3 | |
#define POWERPC_REGISTERINDEX_R4 4 | |
#define POWERPC_REGISTERINDEX_R5 5 | |
#define POWERPC_REGISTERINDEX_R6 6 | |
#define POWERPC_REGISTERINDEX_R7 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Initial Commit by gopro2027 **/ | |
/** Revision #2 by gopro2027 **/ | |
/** | |
* Added "original" into function hook | |
* Fixed branch instruction | |
*/ | |
/** Revision #3 by TheRouLetteBoi **/ | |
/** |