Here is memory block I'm working with:
You can see 8b ff 55 8b ec 83 7d 0c 01 . . . .
code. I want to get one each byte, so I tried:
DWORD offset; // this memroy has '0x61CAB0E4' and that means '8b ff 55... memroy block'
BYTE Result;
memcpy(&Result, &offset, 1); //1 mean byte as I want
BUT, the result is not correct. If I debug, the result value is 228
and I was expecting that value would be 8b
.
How can I memory block one byte one?
8b,
ff,
55,
8b,
ec,
83,
7d,
....etc
These are the results: