Skip to content

aglaeaaaa/VMTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMTM

a vmt swapping library

usage

Example:

typedef void(__thiscall *Entity__Damage)(void*, int);
Entity__Damage Entity__Damage__o;

void hookedDamage(void* thisptr, int amount) {
    amount = 0;
    Entity__Damage__o(thisptr, amount);
}

int main() {
    // Setting up the hooking system
    VMT* vmt = VMTM::Load(pEntity);

    // Hooking @ index 0
    Entity__Damage__o = (Entity__Damage)vmt->Hook(0, hookedDamage);

    return 0;
}

Check this out if youre still confused.

About

vmt swap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages