An optical recording apparatus having a light source and an optical system. Also disclosed are non-transitory computer-readable media containing obfuscated code. In this state, a second magnetic ring is not attracted to the side of the second electromagnetic coil, a seventh facing, which is fixed to the second magnetic ring, and an eighth facing are engaged with each other, and a second rotor and a casing are connected to each other.