Funky Berkeley apartment complex sells for $112 million in all-cash deal