PDA

View Full Version : How to hook __usercall, __userpurge (__spoils) functions?


Artur Pietrzyk
11-04-2010, 01:26 PM
Hello,

Know anybody something about hooking __usercall type of functions?
I hooking successfully __thiscall, __stdcall and __cdecl calls but this is enough for me.

Know anybody hooking library for __usercall's or how to hook this type of functions using translation to __stdcall or __cdecl?

Function who i must hook at first is:

int __usercall func<eax>(int a<eax>, int b<ecx>, int c, unsigned int d, signed int e);