Hi, i've looked for similar threads for my question, but didnt found then, so I try to ask here.
Im using debugger attached to wow.exe process to find a place where the permission for running Lua scripts takes place. But i cannot find it =(
May someone help me with tip how to get it?
My first idea was checking similar places where old checking was in 4.0.x patch (guess Cataclysm version), it was here:
Code:
mov ebp, esp
mov edx,dword ptr ss:[ebp+8]
mov eax,dword ptr ds:[17A5B10]
xor ecx,ecx
push esi
cmp dword ptr ds:[15FBAA8],ecx
je short 01309A84
cmp edx, 22
here was the comparison
Code:
cmp dword ptr ds:[15FBAA8],ecx
there i could replace to and it worked. But in new patch (current 6.0.x) it was, i guess, replaced or modified and i cannot find it anymore =(
Thanks for any help and dont blame me for being dumb in this
UPD: I assumed that i need to see current Release Info Dump Thread for [6.0.3 19116] current version. Am I right checking the CGGameUI_CanPerformAction's offset? If its ok, now i need to somehow replace code in this offset with my code I need. Another question here: how can i write asm command in HEX format? Because I only can patch memory with HEX code in my project