I always won in my imagination. I always hit the game-winning shot or I hit the free throw. Or if I missed there was a lane violation and I was given another one.
Sometimes a character is really based on research that you do. Other times it's just based on your imagination or perhaps your conversation with the director. Or sometimes all of the above. It depends on the movie and character.