Handling of Variadic function

Hi,
I have a scenario in which I need to replace certain functions with a suffix and create a call instruction. However, I am having difficulty obtaining the complete picture of the variable arguments case. I am currently able to retrieve only the fixed arguments. Could you please assist me in finding a way to obtain the complete arguments of a variadic function?