Tuesday, 18 April 2023

How to modify doubles ? [EXAMPLE/EXPLANATION]

Hey it's me again! I will directly get to the point: HOW TO MODIFY THOSE DAMN DOUBLES ? EXAMPLE So, the way you would modify this is pretty simple, GetUpgradeCost -> i want the cost to be 0, but i don't know how to modify doubles yet.. And you're on the right tutorial to get the answer and the method as well! -- Sharing knowledge is always good -- First get a floating point converter! Why? Because doubles are double floats! Link: https://ift.tt/oMnhzwF How can i convert this value, to an ARM instruction ? Well, here is the magic, for simple float ARM instruction would be: MOV R0, #0x0000 BX LR Then how to find it for a double value ? Well, here is another magic: 1000 in float ARM instruction is: MOVT R0, #0x447A And so what is the double value for 0 ? It's pretty simple: ARM instruction is: MOVT R1, 0x0000 BX LR HEX: 00 10 40 E3 1E FF 2F E1 For every doubles it will be MOVT R1, 0x???? BX LR Use the floating point converter to get the right HEX and just put it after MOVT R1. And now you have your upgrades cost 0, or 1, it depends how the game works, magic ? YES I hope you enjoyed this tutorial! See ya, L808

from iOSGods RSS Feed https://ift.tt/5Svy9UD

No comments:

Post a Comment