Well, that is not the clean way to do that, it was one of my first reversed thing, but you can do it that way :
Code:
const BYTE MinimapPlayers[] = { 0x9B, 0xE8, 0x3E, 0x1E, 0xEF, 0xFF, 0x46, 0x4F, 0x0F, 0x85, 0xF4, 0xFD, 0xFF, 0xFF, 0x80, 0xBB, 0xCC, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x84, 0x52, 0x02, 0x00, 0x00, 0x68, 0xFF, 0x00, 0x00, 0x00, 0x33, 0xC9, 0xB2, 0xFF, 0xB0, 0xFF, 0xE8, 0xA1, 0x1F, 0xEF, 0xFF, 0xE8, 0x1A, 0x1F, 0xEF, 0xFF };
const BYTE MinimapDrops[] = { 0x9B, 0xA1, 0x64, 0x60, 0x6F, 0x00, 0xDF, 0x40, 0x06, 0xD8, 0x35, 0x5C, 0x25, 0x57, 0x00, 0xD9, 0x5D, 0xDC, 0x9B, 0x80, 0xBB, 0xCF, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x84, 0x2F, 0x02, 0x00, 0x00, 0x68, 0xFF, 0x00, 0x00, 0x00, 0xB1, 0x8F, 0xB2, 0x8F, 0xB0, 0x1F, 0xE8, 0xF9, 0x28, 0xEF, 0xFF };
const BYTE MinimapNpcs[] = { 0x9B, 0xE8, 0xB6, 0x20, 0xEF, 0xFF, 0x46, 0x4F, 0x0F, 0x85, 0xFA, 0xFD, 0xFF, 0xFF, 0x80, 0xBB, 0xCD, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x84, 0x6B, 0x02, 0x00, 0x00, 0x8B, 0x15, 0x64, 0x60, 0x6F, 0x00, 0xA1, 0x0C, 0x65, 0x6F, 0x00, 0x8B, 0x00, 0xE8, 0xA7, 0xF6, 0xF2, 0xFF };
const BYTE MinimapMonsters[] = { 0x9B, 0xE8, 0x28, 0x23, 0xEF, 0xFF, 0x46, 0x4F, 0x0F, 0x85, 0x00, 0xFE, 0xFF, 0xFF, 0x80, 0xBB, 0xCE, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x84, 0x65, 0x02, 0x00, 0x00, 0x8B, 0x15, 0x48, 0x7C, 0x6F, 0x00, 0xA1, 0x0C, 0x65, 0x6F, 0x00, 0x8B, 0x00, 0xE8, 0x19, 0xF9, 0xF2, 0xFF };
// with mask :
const LPCSTR MinimapPlayers = "xx????xxxx????xx????xxx????x????xxxxxxx????";
const LPCSTR MinimapDrops = "xx????xxxxx????xxxxxx????xxx????x????xxxxxxx????";
const LPCSTR MinimapNpcs = "xx????xxxx????xxx???xxx????xx????x????xxx????";
const LPCSTR MinimapMonsters = "xx????xxxx????xx????xxx????xx????x????xxx????";
// with offset :
const unsigned int MinimapPlayers = 21;
const unsigned int MinimapDrops = 26;
const unsigned int MinimapNpcs = 21;
const unsigned int MinimapMonsters = 21;
// replace x bytes :
const unsigned int MinimapPlayers = 6;
const unsigned int MinimapDrops = 6;
const unsigned int MinimapNpcs = 6;
const unsigned int MinimapMonsters = 6;