Cheat Engine is a Windows application, so running it on Apple hardware takes a compatibility layer such as CrossOver, which translates Windows programs for macOS.
The alternative is simpler: play the game as intended. Cheat tables are also frequently tied to a specific game version, so even a successful install often produces nothing useful after a patch.
If you just want to experiment with game files, look for native macOS tools aimed at the title you are playing instead.