from the facilities of the armed forces of the philippines in ulugan bay in palawan , the orion refueled for a night mission of anti-submarine warfare near the vicinity of hainan island , where chinas submarine base was located .