The legality of using Cheat Engine depends entirely on the context:
: While Cheat Engine itself is legal, using it to gain an advantage in games that prohibit cheating can lead to account bans. Cheat-Engine-7.5.2-Repack---Portable.zip