If you can access a parts fiche look at the diagrams, in order, for shift shaft, shift cam fork and then transmission. Basically, your foot moves the shift lever or pedal. The lever turns the shift shaft. The end of the shift shaft turns the shift cam or shift drum. The ramps in the shift drum push the shift forks side to side. The forks push gearsets either together or apart on the transmission shafts. Gearsets pushed together link via the "dogs" on one gear dropping into slots on the other gear. All the springs, washers, etc. on the shift shaft picture space everything correctly in the cases for smooth operation and return the shift shaft to a "neutral" position (neutral in this case referring to niether upshifting or downshifting not first/neutral/second). Lots of moving parts that do not move very far and need to move a lot of mass, relatively speaking in a short time frame. Also check out You tube videos "sequential gear selector" and how a motorcycle gearbox works" both informative. Any bent or broken component would most likely cause missed shifts more often. 99.9% of my missed shifts have been caused by an inaccurate left ankle.