I have been trying for a couple of days now but I cant get it to work, This is my code so far.
Code:
_wowObj.Asm.AddLine("mov eax, {0}", System.Environment.TickCount); // Base of the Cinput class
_wowObj.Asm.AddLine("mov ecx, {0}", (uint)0x011779A4); // Base of the Cinput class
_wowObj.Asm.AddLine("push {0}", time);
_wowObj.Asm.AddLine("push eax");
_wowObj.Asm.AddLine("push {0}", enable);
_wowObj.Asm.AddLine("push {0}", flag);
_wowObj.Asm.AddLine("call {0}", (uint) 0x005548F0); // SetFlag (DOH)
_wowObj.Asm.AddLine("retn");
Hoping either of you can tell me what I am doing wrong...