public static void Q_atomic_unlock(ref int arg1) { StackItem[] stack = new StackItem[2]; stack[1].s_int = arg1; staticInterceptor.Invoke("q_atomic_unlock$", "q_atomic_unlock(int*)", stack); arg1 = stack[1].s_int; return; }