It was a 5w wire wound resistor .Depending on the exact circuit it was probably 10R0 . Some China 24v units use a 2R2 . . You will have to reverse engeer a bit . The chip is probably the power correction . A little hard to see the exact from your photo .
Was that transistor a rectifier double diode . ?