The PN3644 is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, collector, and base leads. Here is an image showing the pin diagram of this transistor.
SMD Version of PN3644 transistor
The 2SA1313 (SOT-23), 2SA1518 (SOT-23), 2SA1519 (SOT-23), 2SA1520 (SOT-23) and 2SA1521 (SOT-23) is the SMD version of the PN3644 transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.