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

Function call_hook

KernelCheatUM/main.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template<typename ... Arg>
30uint64_t call_hook(const Arg ... args)
31{
32 void* hooked_func = GetProcAddress(LoadLibrary("win32u.dll"), "NtDxgkGetTrackedWorkloadStatistics");
33
34 auto func = static_cast<uint64_t(_stdcall*)(Arg...)>(hooked_func);
35
36 return func(args ...);
37}
38
39struct HandleDisposer
40{

Callers 4

get_module_base_addressFunction · 0.85
ReadFunction · 0.85
write_memoryFunction · 0.85
draw_boxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected