And just so I can get really pedantic: gender is inferred as a context of speech. If you are calling a cis-woman "guy" or "dude", it is inferred you are speaking colloquially. If you call a transwoman "guy" or "dude", it is inferred [by the subject] that you are mis-gendering them, and is offensive.
And more to the point of the context of the (now-deleted) comment: if you say "guy", "he", "him", and "dude" all about the same subject, you are calling the subject a man. You can't argue your way around blatantly misgendering someone multiple times.