C++ is most common used one, you can also use C or C#, or others.
But if you're starting you'll mostly find lots of C++ for such tasks, but you can't just jump into game hacking with C++ as you first have to learn many language features, and general programming concepts first.
Game hacking is not an easy job that you can jump into after 2 nights especially with C++.