Been looking on Google for a long time now but came out empty handed. I can only remember (and not everything might be accurate) that the movie takes place in some kind of mysterious fantasy city where a hooded guy (kind of like in Assassin's creed) is looking for someone. To the end of the movie, he finds the person he is looking for and tries to shoot him or her. The twist at the end is that this city was only imaginary and that the hooded guy actually lives in the real world - he had mental problems or so. The person he shot at was sitting in a bar, cafe or restaurant or someplace like that,. I do not remember the genre, it is probably something between fantasy and thriller. I think it is a US production, not ancient, but not new either. Maybe from around 2000? The movie which I have seen many years ago suddenly got stuck in my head and I am ever so grateful if someone could tell me the title!