Yep. Even if you marry afterwards. If you were not married before you made the baby, it doesn't matter if baby was born in or out of wedlock. DNA it is.
You do not get citizenship for having a baby, even if baby is ROC citizen. As a matter of fact dear, in case no one has told you, you have no rights whatsoever over kiddie, no visitation, nothing. Mom can take it away and you may never see the baby ever. Even if you get married, as a foreign father, your rights are limited to what the law can do, which is not much.