Integrated Simulation of Fragmentation, Evaporation, and Gamma-decay Processes in the Interaction of Cosmic-ray Heavy Ions with the Atmosphere using PHITS