RPXLoadingModule/src/RPXLoading.h

27 lines
534 B
C
Raw Normal View History

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>
#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;
extern function_replacement_data_t rpx_utils_function_replacements[];
extern uint32_t rpx_utils_function_replacements_size;
void RPXLoadingCleanUp();
bool RL_UnmountCurrentRunningBundle();
#ifdef __cplusplus
}
#endif