This isn't even limited to arcade games; I'm aware of one SNES game that has two versions that appear to be substantially different on first glance, but in fact the actual code changes are tiny but the fill pattern in unused parts of the ROM is very different (one version has alternating blocks of 00 and FF bytes, the other version is filled with random data)