could you explain why those breakpoints were necessary in finding the flag? opening the file in r2 already gave us the flag which is that on your breakpoint 3, its just that when i originally input it, it failed, so i just went and swapped the endianness and got the flag lol
The breakpoints (while not necessary) just provide me practice for when the values going into registers aren't as obvious. Example scenario: if instead of just putting the value into the register, what if the value instead came from some function and I didn't want to step through that function. It would just be easier for me to put a breakpoint after that function completes and look at what value went into a specific register.