After school, I went up and talked to him.

Literal

After-school, I [topic-は] him [to-に] spoke-to

話しかける is a compound verb: 話す (to speak) + かける (to direct toward) = to address someone, to initiate conversation. The directional かける implies reaching out — not just speaking, but approaching someone to talk.