I think that I would look at another house. I doubt that a house for sale will be properly repaired. Water has a way of getting into the darndest places. I would be concerned about rusting drywall fasteners and metal studs, if used. Electrical switches and receptecles. Flooring fasteners. Mold.
Without opening up the walls and ceilings, that water could be around for a long time. I'm currently replacing drywall that is still damp from the storms that we had last Sept.