It would be wise to take the same measurements of the other transistor close to this one and the two diodes.
If you can't figure out the emitter base and collector (or anode and cathode for the diodes) just label the pins with numbers and annotate them on a photo.
If you buy any of these transistors, it may be worth getting several, just in case the fault causes it to immediately fail, ir if you badly mess up the soldering.