As Mystery said, yes. As long as you can see the target and have the target in range of the attack, you can make the ranged attack. Part of the attack is the Snatch. The attacks from walls with a passage attack are only resolved when the creature involved physically moves in its entirety through the zone border.