5 [[nodiscard]] std::uintptr_t
GetIATAddr(std::string_view a_dll, std::string_view a_function);
6 [[nodiscard]] std::uintptr_t
GetIATAddr(
void* a_module, std::string_view a_dll, std::string_view a_function);
8 [[nodiscard]]
void*
GetIATPtr(std::string_view a_dll, std::string_view a_function);
11 [[nodiscard]]
inline T*
GetIATPtr(std::string_view a_dll, std::string_view a_function)
13 return static_cast<T*
>(
GetIATPtr(std::move(a_dll), std::move(a_function)));
16 [[nodiscard]]
void*
GetIATPtr(
void* a_module, std::string_view a_dll, std::string_view a_function);
19 [[nodiscard]]
inline T*
GetIATPtr(
void* a_module, std::string_view a_dll, std::string_view a_function)
21 return static_cast<T*
>(
GetIATPtr(a_module, std::move(a_dll), std::move(a_function)));
24 std::uintptr_t
PatchIAT(std::uintptr_t a_newFunc, std::string_view a_dll, std::string_view a_function);
27 inline std::uintptr_t
PatchIAT(F a_newFunc, std::string_view a_dll, std::string_view a_function)
29 return PatchIAT(stl::unrestricted_cast<std::uintptr_t>(a_newFunc), a_dll, a_function);
void * GetIATPtr(std::string_view a_dll, std::string_view a_function)
Definition: IAT.h:11
std::uintptr_t GetIATAddr(std::string_view a_dll, std::string_view a_function)
std::uintptr_t PatchIAT(std::uintptr_t a_newFunc, std::string_view a_dll, std::string_view a_function)