Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static __declspec(naked) void __cdecl NET_SetConVar(void* pfn, const char* cvar, const char* value)
  2. {
  3.     __asm {
  4.         push    ebp
  5.         mov     ebp, esp
  6.         and     esp, 0FFFFFFF8h
  7.         sub     esp, 44h
  8.         push    ebx
  9.         push    esi
  10.         push    edi
  11.         mov     edi, cvar
  12.         mov     esi, value
  13.         jmp     pfn
  14.    }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement