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 "HookManager.h" | |
#include "Syscalls.h" | |
HookManager g_HookManager; | |
HookManager::HookManager(uint32_t mainHookAddress) | |
: hookAddress(mainHookAddress) | |
{ | |
// Copy HookManager::RedirectToHandler to mainHookAddress because we can't branch to it directly. |
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
#pragma once | |
#include <sys/ppu_thread.h> | |
class Thread | |
{ | |
private: | |
class ThreadArg | |
{ |