Arithmetic properties of the Shimura–Shintani–Waldspurger correspondence