Identify unknown component on AC LED bulb PCB
The component with the legs broken off is an unshielded drum ferrite core inductor. You'd have to find the ends of the wires and attach to them to save it (not easy) and mount it somehow. 

Value is probably 9,500uH (9.5mH).