Go find some heptane, hexane, "petroleum ether", or "ligroin". Make a cocaine solution in distilled water and gently add baking soda or very dilute NaOH in water until cocaine falls out of solution (too much alkali will destroy the coke - you have to look up the pKa of cocaine), then add some hexane, mix well, let it settle, then skim the hexane off and keep it. Do that a few times, combine the hexane layers (containing hopefully mostly cocaine freebase), dry them over anhydrous sodium sulfate, calcium sulfate, magnesium sulfate etc. and then you can either evaporate the hexane to get smokeable freebase, or set up a hydrogen chloride generator and bubble HCl through it, to get much cleaner and purer cocaine HCl.
BL - Separating Levamisole from Cocaine