The actual way these work on PS4
There is no magic button sequence for PS4 anymore. If someone is selling you a list of directional inputs, they are lying to you. The entire architecture changed when Sony locked down the system. You cannot just press Up, Down, X, Square while holding a analog stick. That era ended years ago. The only functional approach involves memory editing software running on a separate PC connected to the console, or a hardware dongle that sits between your controller and the console. These tools locate the numbers in the game's memory where values like money, ammo, or health are stored, and then overwrite them in real time. I have spent probably a decade dealing with this stuff, mostly because I got tired of grinding the same stupid progression systems in single-player games. It is not as simple as finding a code and typing it in. You need Cheat Engine installed on your computer, you need the PS4 to be visible on your local network, and you need to learn how to do a "pointer scan" because the memory addresses change every time you reboot the game. I learned that the hard way during a long session with Skyrim on the PS4. I thought I had fixed the gold value, but the moment I reloaded the save, the game crashed immediately. It turned out the pointer was stale. You have to update the base address constantly, or your edits just write to empty space and the game throws an error.
How to find PlayStation 4 Cheat Codes
Most people search for what they think are codes, but what they are actually looking for are ".CT" files or memory tables made by other people. You go to sites like GameFAQs or specific cheat databases. You download the table for your exact game version. This is critical. A table made for patch 1.00 will absolutely not work on patch 4.50 because the developers moved the data around to break cheaters. You have to match the software version of the game on your disc or store library to the version the table author used. Once you have the right file, you open Cheat Engine on your PC, point it at the PS4's IP address, and attach the process. You search for your value, change it in the game, search again, and filter until you isolate the address. Then you pause the game and change the value directly. This process usually takes me about twenty minutes for a fresh game, and about three minutes if I already have the table loaded. It is not instant, but it is reliable once you understand the flow. The main downside is that many modern online multiplayer games use server-side validation. You can hack your own gun count to a million, but the moment you shoot something, the server sees you had three bullets two seconds ago and corrects you. It makes the whole exercise pointless for competitive play. Stick to single-player campaigns if you want this to actually change your experience without getting yourself flagged or just seeing nothing happen.