1. HW + SW
Pick one or the other, doesn't matter unless one seems to not function.
2. Ptrace protection. You can try in settings at very bottom disable protection for all apps (disable magisk hide to apply and then re enable.
Or, kill game with gg. Select, "restart without protection".
3. You'll need to mess with gg hide options. (1 through 4) and ptrace protection method to find a good combination to counter the protection.
4. This is different game then I thought. But I still managed atk/move time and possibly much more. I did debug the game, but something is definitely watching lib in RAM, any editing to lib in RAM instantly crashes game.