According to the online literature knowledge that I've learned, I haven't found a movie titled " The male protagonist's neck is crooked after being hit by a basketball, and he turns into a ghost. He comes back to find the female protagonist in the middle of the night." Maybe you remembered the name of the movie wrong or it's a classic horror movie, but I can't be sure. If you can provide more information, I will try my best to answer your questions.