@flo
thats true, put it there since I want to try some other things where I need it when I'm done with this (which can take quite a while since I'm really new to this topic).
If you are also new here the explanation: Since the function gets executed in WoW's main thread and not anymore in my dll thread, the TLS patch is not needed anymore since we are already in the thread we want.
@berserk85:
what do you understand under "callback"? For me, a callback is a function pointer which is stored somewhere which is invoked later, when some event occurs.
I've also read about HWBP: do you think about setting some of them to the warden checks to change the memory back before a scan and reapplying the patch after the check?
about the "code cave" (which is essentially a single jmp instruction):
- are we able to edit the contents of the .code section where we have to go into?
- isn't there a crc-check over this section so that we get detected?