A cone of height $H$ and base radius $R$ has volume $\pi R^2 H/3$ and its centre of mass is at height $H/4$ above the base. The half-ball of radius $R$ has volume $2 \pi R^3/3$ and its centre of mass is $3 R/8$ below the base of the cone. So the combined solid's centre of mass is at height $$ \dfrac{\left(\dfrac{\pi R^2 H}{3}\right) \dfrac{H}{4} - \left(\dfrac{2\pi R^3}{3}\right) \dfrac{3R}{8}}{\dfrac{\pi R^2 H}{3} + \dfrac{2\pi R^3}{3}} = \dfrac{H^2 - 3 R^2}{4(H + 2 R)} $$ above the base of the cone. In particular, the maximum $H/R$ value for stability is $\sqrt{3}$.