If you have only longs in your va_args that can work.
int functionA(int a, ...){
va_list listPointer;
va_start( listPointer, a);
long b = va_arg(listPointer, long);
long c = va_arg(listPointer, long);
long d = va_arg(listPointer, long);
va_end(listPointer);
return functionB(b, c, d);
}