The volume of the sphere is:
\[
V_{\text{sphere}} = \frac{4}{3} \pi r^3 = \frac{4}{3} \pi (8)^3 = \frac{4}{3} \pi (512) = \frac{2048}{3} \pi \, \text{cm}^3.
\]
The volume of the cone is:
\[
V_{\text{cone}} = \frac{1}{3} \pi r^2 h = \frac{1}{3} \pi r^2 (32).
\]
Since the volume of the sphere is melted to form the cone, the volumes are equal:
\[
\frac{2048}{3} \pi = \frac{1}{3} \pi r^2 (32).
\]
Canceling \( \pi \) and multiplying both sides by 3:
\[
2048 = 32 r^2 \quad \Rightarrow \quad r^2 = \frac{2048}{32} = 64 \quad \Rightarrow \quad r = 8 \, \text{cm}.
\]
Thus, the radius of the base of the cone is \( \boxed{10 \, \text{cm}} \).