hey yall
quick question, Im not usually the one to be injecting and all, but I just cant resist myself, Lua_dostring just looks so cool, so I wanted to try it..
But im not sure if I have it correct as far as some of the asm goes.. let me know if this needs to be updated at all...
Code:
Main.wow.Asm.Clear
Main.wow.Asm.AddLine("mov EDX, [0x01139F80]")
Main.wow.Asm.AddLine("mov EDX, [EDX+0x2C34]")
Main.wow.Asm.AddLine("FS mov EAX, [0x2C]")
Main.wow.Asm.AddLine("mov EAX, [EAX]")
Main.wow.Asm.AddLine("add EAX, 0x10")
Main.wow.Asm.AddLine("mov [EAX], EDX")
Main.wow.Asm.AddLine("push {0}", New Object() { 0 })
Main.wow.Asm.AddLine("mov eax, {0}", New Object() { (dwAddress + 0x200) })
Main.wow.Asm.AddLine("push eax")
Main.wow.Asm.AddLine("push eax")
Main.wow.Asm.AddLine("call {0}", New Object() { "0x0049AAB0" })
Main.wow.Asm.AddLine("add esp, 0xC")
Main.wow.Asm.AddLine("retn")
This is just the asm injection part.. I know the allocation is fine, but I think one of the instructions is out of date,, let me know guys if you want to help.
thanks again