If you chat someone up, usually someone you do not know very well, you talk to them in a friendly way because you are sexually attracted to them. (BRIT INFORMAL)
He’d spent most of that evening chatting up one of my friends...
She was chatting one of the guys up.
PHRASAL VERB: V P n (not pron), V n P