-
Take from index 10 of the buffer, AND it with some hard-coded hex value.
-
Bit shift it by a hard-coded amount of 2
-
Do the first two steps, but with a different hard-coded index, hex value, and bit shift.
-
OR the two results.
-
Shove the result back into a buffer.
All of this is one line with no commenting or references to what the fuck this process comes from or why it is applicable. Then there was a second copy of the line, but with different hard-coded values.