title: How to call a function from binary data
body: <p>I have some binary data which contains a bunch of functions and want to call one of it.
  I know the signature of these functions along with the offset relative to the start of the file. Calling convention is the default one: <code>__cdecl</code>.
  The file was already loaded into a memory page with executing permissions.</p>
  
  <p>For example (<code>A</code>, <code>B</code>, <code>C</code> being some types)</p>
  
  <pre><code>void myFunction (A *arg1, B arg2, C arg3); // Signature
  int myOffset = 0x42; // Offset
  </code></pre>
  
  <p>How can I specify that <code>myOffset</code> points to <code>myFunction</code>?</p>