Mov ecx into variable
Hey so I've made a detour and I'm trying to move ecx into a variable yet it just gives me random bullshit which is not the right address.
Idk if that's very descriptive but I hope it makes sense.
Idk if that's very descriptive but I hope it makes sense.
Code:
DWORD PlayerAddy;
DWORD PlayerBase;
__declspec(naked) void GetPlayerBase() {
__asm {
mov edi, [eax]
mov[ecx + 0x2C], edi
mov PlayerAddy, [ecx]
jmp[PlayerJmpBack]
}
}