Abstract cone approximations and generalized differentiability in nonsmooth optimization