HelpMov ecx into variable

Posts 1–2 of 2 · Page 1 of 1
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.
Code:
DWORD PlayerAddy;
DWORD PlayerBase;
__declspec(naked) void GetPlayerBase() {
	
	__asm {
		mov edi, [eax]
		mov[ecx + 0x2C], edi
		mov PlayerAddy, [ecx]
		jmp[PlayerJmpBack]
	}
}
I think you want to use ECX without brackets.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?