I've heard that many wild cockatoos have Beak and Feather disease (PBFD) and if you see one listlessly sitting, and you have birds, be very careful.
If you have birds, please disinfect your clothing, and anything the bird may have had contact with.
Hoping that's not what it had, but I've heard it's very common in Australia, and has spread quite rapidly.