It sounds like this has always bee FUBAR'd
First find where the hot and neutral come in. Then find the black and white wires to the light. Then sketch it out so the series somewhat follows this
https://en.wikipedia.org/wiki/Multiway_switching (travellers section)