In general, anything these days that comes out of Japan is very high quality. Overall higher than Indonesia, Korea, etc.
That said, I have been very, very impressed with all of the import basses I have played lately. Everyone seems to have stepped up quality.
It's hard to say who makes the Yamaha basses at any given time. Yamaha is a marketing company, not a manufacturer, so the Yamaha and the Cort could be coming from the same place.
Both are good, solid, bang-for-buck brands at that price point. Pick the one that speaks to you.