Hi all. I have an .so file, and i tried one method change return value always true, i can see function name in decompilers but i dont know how i will change it and compile again , any one can help me ?
You don’t need recompile. Simple patch this function with code
31 c0 xor eax,eax ff c0 inc eax c3 ret
For .so file
file offset: 0x6d30
replace bytes 4885FF741B with 31C0FFC0C3
For .dll file
file offset: 0x5c7b0
replace bytes 40534883EC with 31C0FFC0C3
thank you mate patch applied but doesnt work. need more patch can you check your P/M ?