Help Code C++

Posts 1–3 of 3 · Page 1 of 1
Help Code C++
Does anyone know how I can use this in C++?

Code:
i = dword_92195E60[(unsigned __int8)(i ^ *MultiByte)] ^ (i >> 8);
this is pretty plain C if u ask me?
something like:
Code:
	unsigned char* dword_ptr = reinterpret_cast<unsigned char*>(currentBase + 0x92195E60 - dumpBase) // bytepointer to the address
	// something happend before with it, which u didn't posted
	unsigned char index = (i ^ *MultiByte) * sizeof(DWORD) + 1;
	printf("%d | %x", dword_ptr[index]);
i = dword_92195E60 /* the Address + BaseAddress */[(unsigned __int8)(i ^ *MultiByte) /* the Index in context of sizeof(DWORD) so * 4 */] ^ (i >> 8) /* shifting one byte further */;
Quote Originally Posted by MikeRohsoft View Post
this is pretty plain C if u ask me?
something like:
Code:
	unsigned char* dword_ptr = reinterpret_cast<unsigned char*>(currentBase + 0x92195E60 - dumpBase) // bytepointer to the address
	// something happend before with it, which u didn't posted
	unsigned char index = (i ^ *MultiByte) * sizeof(DWORD) + 1;
	printf("%d | %x", dword_ptr[index]);
i = dword_92195E60 /* the Address + BaseAddress */[(unsigned __int8)(i ^ *MultiByte) /* the Index in context of sizeof(DWORD) so * 4 */] ^ (i >> 8) /* shifting one byte further */;
thx brô XD
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?