This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Games" | |
| { | |
| "tf" | |
| { | |
| "Signatures" | |
| { | |
| //Instructions: First find CTFWeaponBaseMelee::Smack() (references "melee_cleave_attack"), then go to the vtable and go 9 functions up (increasing address) and this is the target function | |
| "CTFWeaponBaseMelee::Swing" | |
| { | |
| "library" "server" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module ndf.vfunc; | |
| import std.traits; | |
| auto thisCall(T, A...)(void* addr, void* thisptr, A args) | |
| if(isFunctionPointer!T) | |
| { | |
| version(Win32) | |
| { | |
| auto func = cast(T)(addr); |