25.02.2014, 10:06
Ok, so I have an idea - simply move the stack pointer -(number of variable arguments * 4), then use MOVS/memcpy to copy the variable arguments from previous frame (without touching the frame pointer), and standard pushing of remaining args. I'm not sure though if it will be any faster than YSI 3 version with standard while + it requires runtime rewriting of MOVS (which I suck at, even when using amx_assembly).