Hi

Guys i am beginner and super noob on c++ hacking so i am glad if some one clear me about my questions .
Thank you.

with this code we can detect wieter20 hack.

Code:
// checks for hook point of wieter20
	const char* shouldBe = "\x51\xA1\xBC\x1A\x7E";
	if (memcmp(shouldBe, (void*)0x586E00, 5))
	{
		return 6;
	}
pleas someone explain this code for me.

and my Q2:

if i have some offsets like this:

Code:
GetWeaponSpread..........0x004770F0
GetRandomSpread..........0x005D51A0
ChopperBoxes.............0x0059E710
how i can make new detection like first source i posted?