Systematic study of the chiral magnetic effect with the AVFD model at LHC energies