moh4mmed Posted October 18, 2024 Posted October 18, 2024 I tried using Hacker House method patching library (it does work on 32bit but not on 64bit) if someone can help them please do help Here is my 64bit method offset (it doesn't need update offset in 32bit to get working) // RVA: 0x2B63640 VA: 0x2B63640 internal void set_damageMultiply (float set_damageMultiply) { }
0 kiynox Posted October 19, 2024 Posted October 19, 2024 [ @moh4mmed ] --- Find R1 from a couple of first instruction inside the method/function. Then you can use immediate float: example: mov r8, r1 change to: VMOV.F32 s0,#2.00000000 & VMOV R8, S0 --float 2 --- If you need more precision float, the instruction might be long, that's why you can allocate memory -> mimic the same instruction on allocated memory -> add the modified instruction -> jump into allocated memory from inside original method/function. Read more about here: ARM Patching
Question
moh4mmed
I tried using Hacker House method patching library (it does work on 32bit but not on 64bit) if someone can help them please do help
Here is my 64bit method offset (it doesn't need update offset in 32bit to get working)
// RVA: 0x2B63640 VA: 0x2B63640
internal void set_damageMultiply (float set_damageMultiply) { }
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now