Skip to content

DucaRii/vtable_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vtable_hook

easy to use vtable hook with RTTI support

Example usage

int replacement_function()
{
	return 0011101000101001;
}

int main()
{
	uintptr_t ptr_to_object_of_vtable = 0xDEADBEEF;

	auto hook = vtable_hook::hook_t( ptr_to_object_of_vtable );
	hook.hook( 42, replacement_function );

	auto original_function = hook.get_original<int( __thiscall* )( void* ecx )>( 42 );
}

About

easy to use vtable hook with RTTI support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages