Skip to content
Guest Big Announcement

BX LR and NOP

Featured Replies

  • Author
1 minute ago, DiDA said:

Yeah it is.

If you NOP the branch going to that function then it will disable it for one xref only. If you BX LR the whole function then it will disable it entirely from any other places the function was called. The branches will simply lead to a BX LR and do nothing.

NOPing the function being called crashes the game :/ while BX LRing that function doesnt crash it

BX LR delete the whole fuction

NOP is for freezing like if you hack the ammo (ex sub r3, r2, r1) you change the sub to add and instead of subtracting the ammo it will add ammo => infinite ammo. But there is a way to have an infinite ammo without breaking the game, that's why you use NOP => it will freeze the ammo (no subtract, no add) make it more stable

 

  • Author
1 hour ago, DiDA said:

Are you NOPing the beginning of the function?

Or a bl sub_xxx going to the function?

Beginning of a function is always BX LR.

I NOPed the called function in the calling function. Also BX LRed the beginning of the called function.

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.