"прохожим" - Д.п., м.ч.

Кирпич упал мне на голову. (Д.п.) - A brick has fallen down to my head. "A brick has fallen down to me onto the head."

But in your example Р.п. м.ч. is also...