Momentan lese ich den gewünschten Parameter so aus ->
überschreibe halt 6 Bytes mit einem JMP push ECX call meine Funktion und stelle das Original wieder her und springe zu origina+6 Bytes halt.
Code:
DWORD oGameStartBack = 0x00458276;
int __declspec( naked ) GameStarts()
{
__asm{
push ecx
call StealPlayerP
pop ecx
push ebp
mov ebp, esp
sub esp, 8
mov edx,oGameStartBack
jmp edx
}
}






