Is there a way to make code with Edizon for slow down and speed up gameplay similarly to cheat engine on windows?

mrs x0, cntpct_el0 //get tick counter
mov x1, #2 //set our factor to 2
udiv x0, x0, x1 //divide tick counter by factor
ret //return
mrs x0, cntpct_el0 //get tick counter
mov x1, #4 //set our factor to 4
udiv x0, x0, x1 //divide tick counter by factor
mov x1, #5 //set our factor to 5
mul x0, x0, x1 //multiplicate divided tick counter by factor
ret //return
_ZN2nn2os13GetSystemTickEv.asm64
Cheat engine uses code injection for that. So this is not the same as using Edizon. From IPS patch perspective it's pretty simple patch, f.e. to get 0.5x:
C++:mrs x0, cntpct_el0 //get tick counter mov x1, #2 //set our factor to 2 udiv x0, x0, x1 //divide tick counter by factor ret //return
It gets more complicated if you want to do fractions, f.e. 1.25x
C++:mrs x0, cntpct_el0 //get tick counter mov x1, #4 //set our factor to 4 udiv x0, x0, x1 //divide tick counter by factor mov x1, #5 //set our factor to 5 mul x0, x0, x1 //multiplicate divided tick counter by factor ret //return
And to be applied universally you can use SaltyNX and save file with code as
Be aware that:Code:_ZN2nn2os13GetSystemTickEv.asm64
- not every game will work with this, especially games relying on fixed game speed
- not every game will like it, f.e. it will break fps locks or dynamic resolution relying on this
You cannot do that universally with Atmosphere cheats.
Because you don't understand what you are looking at. I have provided technical answer, not solution that you can just copy and paste.Have you tried this before ?
I made that C+ file 0.5 speed, but the game immediately crash
Is it really C++ code? It looks like Assembly.Cheat engine uses code injection for that. So this is not the same as using Edizon. From IPS patch perspective it's pretty simple patch, f.e. to get 0.5x:
C++:mrs x0, cntpct_el0 //get tick counter mov x1, #2 //set our factor to 2 udiv x0, x0, x1 //divide tick counter by factor ret //return
It gets more complicated if you want to do fractions, f.e. 1.25x
C++:mrs x0, cntpct_el0 //get tick counter mov x1, #4 //set our factor to 4 udiv x0, x0, x1 //divide tick counter by factor mov x1, #5 //set our factor to 5 mul x0, x0, x1 //multiplicate divided tick counter by factor ret //return
And to be applied universally you can use SaltyNX and save file with code as
Be aware that:Code:_ZN2nn2os13GetSystemTickEv.asm64
- not every game will work with this, especially games relying on fixed game speed
- not every game will like it, f.e. it will break fps locks or dynamic resolution relying on this
You cannot do that universally with Atmosphere cheats.
asm-declarationIs it really C++ code? It looks like Assembly.




