How to call a function through a function pointer passed as an argument?
<p>How do I call passed function (*f2) in third argument of f1 function in assembly?
Declaration looks like that:</p>

<pre><code>extern float f1(int v1, float v2, float (*f2)(int v3, float v4));
</code></pre>

<p>I want to pass v1 to v3, v2 to v4 , call function f2, and return value</p>

<pre><code>f1:
    push rbp           
    mov rbp, rsp

    mov rdx, rdi ; v1 to v3
    mov xmm1, xmm0 ; v2 to v4
    call ??? 
    mov xmm0, xmm1

    mov rsp, rbp       
    pop rbp    
ret
</code></pre>

<p>what do I put in place of the question marks?</p>