Hi, i have a problem to inject a dll and hook some function with the lasted cataclysm build (compiled in debug). In fact, in the first build (compiled in release), for example the prototype of function SetMessageHandler with build in release is :
Code:
int __cdecl sub_ClientServices_SetMessageHandler(int a1, int a2, int a3);
Ok, i can hook this function without problem and it's work.
Now, the prototype of that function with build in debug :
Code:
unsigned int __usercall sub_4BB220<eax>(int a1<ebp>, unsigned int a2, int a3, int a4);
One argument added, and "eax, ebp". If i hook with just add the argument, i win a wowerror ...
Anybody can help me ? Thx.