Both teams are in the double bonus. Possesion arrow points towards Team A.
Team A is dribbling the ball in the backcourt. Lots of pressure. A1 passes the ball towards A2. B2 deflects the ball towards the side line. A2 and B2 scramble to the ball. B2, while still inbounds, slaps the ball back into the court before it goes OOB. Official blows his whistle.

OOps... he is now aware that there is no OOB violation. Who gets the ball and WHY?