Help! HOOK Method Returning a Value Help!

GODOFMLBB

Platinian
Hello there. How can I return mov r0,r1 and bx lr as HOOK Method. Float int Void Which Should I Use and What Should Its Values? Also I don't want to use Hex Patch. I will not do Hex Patch. Understand that.
 
Stop mentioning your mov r0 r1 lol, u just confusing other ppl here

If u want learn hook read the tutorial "Hooking related"
 
You're confusing people by mentioning assembly stuff.

What does bx lr have to do with hooking?
For r1, r0 you mean mov r0, #0 and #1?

it would be

*(bool*)((uint64_t) obj + 0x0) = true;

or if you're hooking a bool function just return true or false..
 
You're confusing people by mentioning assembly stuff.

What does bx lr have to do with hooking?
For r1, r0 you mean mov r0, #0 and #1?

it would be

*(bool*)((uint64_t) obj + 0x0) = true;

or if you're hooking a bool function just return true or false..
// RVA: 0x2A99C20 Offset: 0x2A35C20
public static CmdHeroSkin GetHeroSkin(List<CmdHeroSkin> m_heroskins, uint skinid) { }

dude my offset and its value like this. I'm not talking about mov r0 #1. Everyone thinks they know, but no one knows how to return the value of mov r0, r1. how silly.
 
// RVA: 0x2A99C20 Offset: 0x2A35C20
public static CmdHeroSkin GetHeroSkin(List<CmdHeroSkin> m_heroskins, uint skinid) { }

dude my offset and its value like this. I'm not talking about mov r0 #1. Everyone thinks they know, but no one knows how to return the value of mov r0, r1. how silly.
Mobile Legends...
Why not patch instead of hook?
 
Back
Top Bottom