I need to patch an arm7 program by replacing this fopen function by another function.
.text:00018D68 52 D7 FF EB BL fopen
...
.plt:0000EAB8 ; FILE *fopen(const char *filename, const char *modes)
Do you know how to calculate the 24 bits that I need to write after EB? The documentation is not very clear. I tried to find a Branch offset calculator but not found.
Thx,