4 #ifndef TAI_MODULE_HEADER 5 #define TAI_MODULE_HEADER 7 #include "taihen_internal.h" 15 int module_get_offset(SceUID pid, SceUID modid,
int segidx,
size_t offset, uintptr_t *addr);
16 int module_get_export_func(SceUID pid,
const char *modname, uint32_t libnid, uint32_t funcnid, uintptr_t *func);
17 int module_get_import_func(SceUID pid,
const char *modname, uint32_t target_libnid, uint32_t funcnid, uintptr_t *stub);
21 #endif // TAI_MODULE_HEADER Extended module information.
int module_get_by_name_nid(SceUID pid, const char *name, uint32_t nid, tai_module_info_t *info)
Gets a loaded module by name or NID or both.
int module_get_export_func(SceUID pid, const char *modname, uint32_t libnid, uint32_t funcnid, uintptr_t *func)
Gets an exported function address.
int module_get_offset(SceUID pid, SceUID modid, int segidx, size_t offset, uintptr_t *addr)
Gets an offset from a segment in a module.
int module_get_import_func(SceUID pid, const char *modname, uint32_t target_libnid, uint32_t funcnid, uintptr_t *stub)
Gets an imported function stub address.