Jump to content
  • 0

Help me to Hook 64bit Void method offset please


moh4mmed
 Share

Question

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) { }

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

[ @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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.