I previously wrote a helper tool in rust that injected into a C++ based online game, and it worked really well. Rust turned out to be an excellent choice for the job to me.
In one of them I hook into C++'s inheritance with no issue, just by understanding how everything works within the compiler you can do a lot.