NerdyTyler
New User
- 10
- 11/28/16
- 0
Thread Author
Hello everyone, I am trying to edit cooldown timer functions in IDA and for some reason the code I am changing it to is not doing anything. I am new to IDA so any suggestions/ideas would be much appreciated.
SetInitialCooldownTimer (float)
STR R1, [R0,#0x18) (Edited to: MOV R1, #0)
Bx LR
End Function
GetInitialCooldownTimer (Void)
LDR R0, [R0,#0x18] (Edited to: MOV R0, #0)
BX LR
End Function
A quick review of what the timer does: Once a special feature of your player in the game is selected, that special feature is unavailable for a set period of turns. Would NOPing the BX LR after changing the first instruction make a difference? One thing to note is when I manipulate the timer with a memory editor, the instruction I edit to make it work is as float.
SetInitialCooldownTimer (float)
STR R1, [R0,#0x18) (Edited to: MOV R1, #0)
Bx LR
End Function
GetInitialCooldownTimer (Void)
LDR R0, [R0,#0x18] (Edited to: MOV R0, #0)
BX LR
End Function
A quick review of what the timer does: Once a special feature of your player in the game is selected, that special feature is unavailable for a set period of turns. Would NOPing the BX LR after changing the first instruction make a difference? One thing to note is when I manipulate the timer with a memory editor, the instruction I edit to make it work is as float.