Just a few magic weapons off the top of my head... waterbolt, bee gun, magic missile, demon scythe, flower of fire... all of which are very viable weapons pre-harmode.
As for armor, you could go meteor armor and grab a space gun... that's also a very potent pre-harmode magic option.