I do believe a similar play is in the case book. Instead of the ball going OOB, there is a jump ball. (a) Arrow points to Team A. (b) Arrow points to Team B.
Since Team A would get the ball in (a), there is no change of possession from the POI, thus you line the player up for the 2nd Throw. Team A retains the AP arrow.
In (b) the POI is a change of possession, so Player A shoots the uncontested 2nd Free Throw and resume play via the Alternate Possession throw-in for Team B.
Let me know if I am wrong.