c++ - How to make gcc/g++ accept expressions like LOBYTE(v15) = someExpression? -
i have decompiled function , want compile source. problem lobyte statements: "error: lvalue required left operand of assignment" on every line that:
lobyte(v9) = ((_byte)v12 + (v7 ^ v13)) & 0x1f;
tip workaround, please.
assuming v9
object of arithmetic type (the question not explicit declarations of different identifiers / macros involved) , system little-endian:
#define lobyte(x) (*(unsigned char *) &(x))
would allow lobyte
on left hand side of =
operator.
Comments
Post a Comment