Don't use IBinTools to call virtual functions. We're in C++! Use SourceHook right away. This reduces in less and readable code.