As the name implies, a dummy bolt has no actual function but merely to add the sense of realism and cover the exposed gearbox's cylinder.
As for the EBB (Electronic Blowback) system, the dummy bolt will move back and forth as the gearbox works and replicate the blowback action.