In my scrimmage tonight, some guy on the other team got fouled and had free throws. He missed both of them. After he missed the second free throw, but before the rebound came down, he was substituted.
I don't know what the substitution rule is in this situation - perhaps once the ball is rebounded, the player can get subbe - but in any case, it's very strange to see the shot miss, then the sub, then the rebound.
Here's a screenshot. The game is 800165.
http://img85.imageshack.us/img85/3261/picture1fi1.png