This is very familiar. I spent a few weeks on a mobile game hiding various values in memory (using lua metadata magic to make it transparent to the designers!) Eventually it turned out the best thing to be done was just to ban all jailbroken iOS users and be done with it.
I wouldn't go that far. The number of jailbroken phones was a fraction of a percent of our user count, but 100% of our known cheater count. Every single one.
A bunch of the filesystem was visible to all apps that isn’t visible on a regular phone. I’m sure someone smart could have gotten around the detection, but nobody cared enough to do so.