The Japanese DIPLOMATIC code was broken before PH. No evidence that the IJN cipher had been broken until some time after. Specifics of the attack were not transmitted to the diplomats.
What FDR expected was an attack on the Philippines or another “Panay Incident”
Years back History channel or some such channel ran a documentary including an old Aussie bloke who said he they had broken the
IJN code, got warning of the attack a couple days in advance and he’d passed the warning on to the Yanks at Manila IIRC. I’d had it saved on VHS but managed to lose it.