def parse_pointer(pointer):
    """ Return the 3 bytes that make up the pointer in reversed order (little endian) """
    str_repr = str(hex(pointer)).split("x")[1]
    assert (
        len(str_repr) == 6
    ), f"New location should only be 3 bytes. Was actually {str_repr}"
    return int(str_repr[-2:], 16), int(str_repr[2:4], 16), int(str_repr[:2], 16)