In a line like this:
if ((my_variable & 0x80000000) == 0) {
Is there a way to label 0x80000000
as e.g. FLAG_HAS_PROPERTY_GREEN
, or would I have to rely on comments for that?
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 communityselect SCALAR in decompiler window
right click ->Set Equate ("E" short cut)
type or select if available
a sample EQUATE as below
uVar6 = *(ushort *)param_2 & THIS_IS_MY_BAD;