MCPcopy Create free account
hub / github.com/NullTerminatorr/NullHook / get_module_base_address

Function get_module_base_address

KernelCheatUM/main.cpp:73–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static ULONG64 get_module_base_address(const char* module_name)
74{
75 NULL_MEMORY instructions = { 0 };
76 instructions.pid = process_id;
77 instructions.req_base = TRUE;
78 instructions.read = FALSE;
79 instructions.write = FALSE;
80 instructions.draw_box = FALSE;
81 instructions.module_name = module_name;
82 call_hook(&instructions);
83
84 ULONG64 base = NULL;
85 base = instructions.base_address;
86 return base;
87}
88template <class T>
89T Read(UINT_PTR read_address)
90{

Callers

nothing calls this directly

Calls 1

call_hookFunction · 0.85

Tested by

no test coverage detected