The prodigal son did not die mid-confession.Has anyone here read the story of the Prodigal Son recently? It might be worth another reading…
But yes, the father forgave him before he was done with his spiel. This is why the OP is getting consistent answers: such a person is most likely saved.