Concerning the secret Pokémon, they use devices such as the Action Replay to access the game save file and modify numbers and all of that to get the Pokemon. As for the two unreleased and unnamed games, the only info they can find is by hacking the game to see if there are secret moves, items or Pokémon that potentially reveal a new game.