Untitled

From Flying Meerkat, 10 Years ago, written in Plain Text, viewed 782 times.
URL https://paste.godclan.hu/view/lWOrjZV8 Embed
Download Paste or View Raw
  1. void __declspec(naked) HOOKCChat__Draw(){
  2.     /*
  3.     .text:1000EA75 00C                 sub     esp, 10h
  4.     .text:1000EA78 01C                 push    ebx
  5.     .text:1000EA79 020                 push    esi
  6.     .text:1000EA7A 024                 mov     esi, ecx
  7.     .text:1000EA7C 024                 mov     eax, [esi+0A6Dh]
  8.     */
  9.     _asm {
  10.         push ecx
  11.        
  12.         push ecx
  13.         call CChat__Draw
  14.        
  15.         pop ecx
  16.        
  17.         sub esp,16
  18.         push ebx
  19.         push esi
  20.         mov esi,ecx
  21.        
  22.         mov eax,vcmpaddr
  23.         add eax,0xEA7C
  24.         jmp eax
  25.     }
  26. }
  27.  
  28. hook:
  29. MakeJump(vcmpaddr+0xea75, 7, HOOKCChat__Draw);

Reply to "Untitled"

Here you can reply to the paste above