99 percent likely the transformer is fine, but the SMPS controller to the right ( in the pic) has a shorted power transistor, a blown SMPS controller IC, 2 or more failed resistors on the board and at least 2 failed electrolytic capacitors, along with a blown fuse or fusible resistor and a shorted bridge rectifier diode.