Probing strongly interacting matter with heavy resonances in Pb+Pb collisions at LHC energies