Foul in the act of shooting, up fake and contact, shooter jumps to the rim

“This is an example of a defensive foul that occurs with the offensive player in the act of shooting. The offensive player, Eric Gordon, performs an up fake, and his defender, Malik Beasley, jumps toward him. In doing so, the defender initiates illegal contact on the offensive player after he has begun his upward shooting motion. Three free throws would be awarded as the field goal attempt was unsuccessful. However, if the field goal attempt had been successful, the offensive player would have only received one free throw attempt. Note also, that had the defender jumped vertically, and it had been the offensive player who initiated the contact, then this would have been deemed an offensive foul.”