Bei einem Hook einer Funktion ( void Function(void*,float) ) ist das Spiel bei mir immer gecrasht.
Merkwürdigerweise hat der Compiler nicht gemeckert ;O
Code:
...
[B]void[/B] __stdcall hkFunction(void* arg1,float arg2)
{
arg2 = 1.1234;
[B]return[/B] Function_orig(arg1,arg2);
}

Edit : Ok doch nicht, das ist ok