2021-01-01 01:39:28 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-01-24 15:45:30 +01:00
|
|
|
#include <cstdint>
|
2022-02-04 16:35:35 +01:00
|
|
|
#include <function_patcher/function_patching.h>
|
2021-01-17 13:57:57 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-01-01 01:39:28 +01:00
|
|
|
typedef struct __attribute((packed)) {
|
|
|
|
uint32_t command;
|
|
|
|
uint32_t target;
|
|
|
|
uint32_t filesize;
|
|
|
|
uint32_t fileoffset;
|
|
|
|
char path[256];
|
|
|
|
} LOAD_REQUEST;
|
|
|
|
|
2021-01-17 13:57:57 +01:00
|
|
|
extern function_replacement_data_t rpx_utils_function_replacements[];
|
|
|
|
extern uint32_t rpx_utils_function_replacements_size;
|
|
|
|
|
2022-03-12 21:21:21 +01:00
|
|
|
void RPXLoadingCleanUp();
|
|
|
|
bool RL_UnmountCurrentRunningBundle();
|
|
|
|
|
2021-01-17 13:57:57 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|