i am a newbie in the world of RE ,
i start to explorer a main entry of a classic game from 90's and i start to see something confuse me as a newbie
can someone explain why please .
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.Sign up to join this community
It's saving registers that might be modified by the function. Notice that you can see assignments to all three of those registers throughout the function body. Also notice at the bottom of your screenshot that the values of the registers are restored by popping them right before the return statement, such that the calling function will have the same values for those registers after the call as they did before the call.