Hi everyone,
I've been reading this forumsection for quite some time now and and i'd say it is a source of nearly infinite wisdome
But i've one problem i couldn't solve through reading the related posts. I've managed to read all the things i need from wow's memory, but when i try to interact, nothing happens. the game doesn't even crash.
Code:
uint codeCave = wow.AllocateMemory();
uint VMT38 = wow.ReadUInt((wow.ReadUInt(obj.BaseAddress)) + (38 * 4));
wow.Asm.Clear();
wow.Asm.AddLine("fs mov eax, [0x2C]");
wow.Asm.AddLine("mov eax, [eax]");
wow.Asm.AddLine("add eax, 8");
wow.Asm.AddLine("mov dword [eax], {0}", objectManagerBase);
wow.Asm.AddLine("mov ecx, {0}", obj.BaseAddress);
wow.Asm.AddLine("call {0}", VMT38);
wow.Asm.AddLine("retn");
suspendMainThread();
wow.Asm.InjectAndExecute(codeCave);
resumeMainThread();
wow.FreeMemory(codeCave);
This is how i try to do it. I'm sure that my suspend and resume functions work, because the rendering freezes, when i suspend the mainthread, but i have absolutely no clue, why there isn't anything happening.
I would be glad to get evn a hint, it doesn't have to be a complete solution 
Thanks!