A lot of games use dynamic memory allocation (DMA), much more than older consoles that use it, which effectively moves addresses around with pointers to that memory section dotted throughout the game's memory, sometimes in as many as a chain of pointers 15 to 20 long in the most extreme cases (most need a 4 to 5 pointer chain).
There is no reliable way to search pointer addresses in CheatEngine on PC, nor in the Yuzu debugger, mainly due to how the Switch doesn't ever use all of its RAM for a game, and the physical location of the game's RAM within the entirety of the Switch's RAM is pretty much random on each game boot (same for PC RAM, really, and the combination of both of these makes it nigh on impossible to make proper pointer codes for Switch games on PC).
Finally, even though pointer codes cannot be made on emulators without some highly advanced setup, some codes (this includes pointer codes, but not ASM codes) for some games that work on real Switches won't work in Ryujinx or Yuzu; this is because emulation is not perfected for every single game, and memory differences due to this cause cheats to be incompatible. This is the reason for the existence of the hxxps://gbatemp.net/threads/nintendo-switch-cheat-codes-for-emultators-add-and-request.641809/ thread.