Understanding the shape of the galaxy two-point correlation function at z ~= 1 in the COSMOS field