void HideIP()
{
if (PLAYER::IS_PLAYER_ONLINE() && NETWORK::NETWORK_IS_IN_SESSION())
{
if (PLAYER::IS_PLAYER_PLAYING(PLAYER::PLAYER_ID()))
{
DWORD Address = PlayerNameAddress(PLAYER::PLAYER_ID());
if (*(UINT8*)(Address - 0x48) != 216 &&
*(UINT8*)(Address - 0x47) != 58 &&
*(UINT8*)(Address - 0x46) != 204 &&
*(UINT8*)(Address - 0x45) != 78)
{
//Spoof our IP to google's IP xD
*(UINT8*)(Address - 0x48) = 216;
*(UINT8*)(Address - 0x47) = 58;
*(UINT8*)(Address - 0x46) = 204;
*(UINT8*)(Address - 0x45) = 78;
//XNotify(L"Your IP spoofed to: 216.58.204.78 Please search a new Lobby!");
}
}
}
}