Generalized symmetry constraints on deformed 4d (S)CFTs | Synapse