I am currently trying to reverse engineer some game files. I have found the exact location of each graphic element, but now I am stuck trying to convert their data to "readable" rgb code. They use 16 bit long Hex values (0xC306 or 110000110000 converts to R:0 G:219 B:24)
The file is written in little endian. Could someone tell me how they convert it?
More examples:
(0xCFC0 -> RGB 198 24 123)
(0xFFF0 -> RGB 247 28 255)
(0xFF00 -> RGB 0 28 255)