1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 12:50:16 +00:00
UltimateTrainingModpack/source/saltysd_helper.h

11 lines
242 B
C
Raw Normal View History

2019-03-27 02:55:08 +00:00
#include <switch.h>
2019-03-27 03:54:36 +00:00
#define ANCHOR_REL 0x70ffffc000
2019-03-27 02:55:08 +00:00
u64 ANCHOR_ABS;
#define IMPORT(x) (x - ANCHOR_REL + ANCHOR_ABS)
2019-03-26 23:15:58 +00:00
int SaltySD_function_replace(u64 addr, u64 new_func);
int SaltySD_function_replace_sym(char* function_sym, u64 new_func);