I know Philly's stupid but, they already have a bunch of high picks, what does a #3 do for them? They're going to build around Dunn? Dunn is an unknown in the NBA. Why not just trade for a good NBA point guard? Ainge got IT for a hundred bucks and 2009 VW Jetta with 70,000 miles on it.
Okafor has flaws, but, unlike "anybody" getting drafted in a couple of weeks, he has proven he can score on NBA defenses. You trade ponies for ponies and horses for Okafor.