It was never overseas to be repatriated in the first place
They set up foreign subsidiaries with bank accounts at money center banks. The banks can be in the US or foreign subsidiaries of US firms. They already had access to US money markets, bonds, equities, etc.