position = 43254468 // 0x029402C4 x = 0x0294 -> 660 y = 0x02C4 -> 708 x = position >> 16; y = position & 0xFFFF; reverse: position = (x << 16) | y;