Citizens United itself was a 5-4 decision, so it's fair to say that CU was also a far-from-clear result.
The Citizens United decision rests on Corporate Personhood. Corporate Personhood was established in a case testing the limits of the 14th amendment.