Almost all games are coded with C++ libraries such as OpenGL or DirectX, due to their rendering speed these low level graphics libraries are used. Because of this C++ can be used to hack pretty much any game. FPS and RTS, etc., Different genres may use different game engines, but they all use the same graphics libraries and can all be hacked with C++.