mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-28 04:44:06 +00:00
10 lines
242 B
C
10 lines
242 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);
|
|
|