Can we have generalized idea or behaviour of the system with change of mass?

Suppose i say that mass is varying by function F(x), then what will be impact of this on the system? let us assume that system is 1 DOF, like pendulum or spring mass system.