1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-21 22:06:10 +00:00
UltimateTrainingModpack/source/saltysd_helper.hpp
2019-05-17 09:24:04 -07:00

9 lines
241 B
C++

#include <switch.h>
#define ANCHOR_REL 0x70ffffc000
u64 ANCHOR_ABS;
#define IMPORT(x) (x - ANCHOR_REL + ANCHOR_ABS)
int SaltySD_function_replace(u64 addr, u64 new_func);
int SaltySD_function_replace_sym(char* function_sym, u64 new_func);