Text this: Solving arbitrary one-loop reduction via generating function