Hi masters,
I am quite new to this site and I am learning a new way to mod Android games, which is called Hooking functions (I am not sure if I call it right).
As I read the instruction in this GitHub project, at the Creating the libhook.so step (step 2 - Inside "hook.cpp", you'll write your hooks.), I just don't know how to write it (I am completely new to this). I have searched many websites to find a clear instruction for this but there is no one.
So now I am here to ask for your help.
Could anyone please give a sample hook (on Android, of course) when I write in the hook.cpp? Or a screenshot is also pretty good!
For example, in the picture below, I want to GetMoneyTotal (void) at offset 000BBFE8, then what should I write the code?
My English is bad and I don't know if I ask a properly question. I just want to learn new things from this heaven of moddings.
It would be great if any one can help. I am greatful about that.
Hope that @DADi would have a look at this thread and help.
Thanks in advance!