you currently don't save rtti while hooking a method. i'd recommend revamping the class and fixing this bug as it can lead to unforseen problems (eg: when hooking sv_cheats getbool, game crashes while opening console due to you not saving rtti properly)
edit: i don't know if you still support this project, but it would be a nice addition nevertheless.
you currently don't save rtti while hooking a method. i'd recommend revamping the class and fixing this bug as it can lead to unforseen problems (eg: when hooking sv_cheats getbool, game crashes while opening console due to you not saving rtti properly)
edit: i don't know if you still support this project, but it would be a nice addition nevertheless.