Therre's no re-call on your model year front sprocket nut.
If the chain broke due to a loose front sprocket or someone put on an aftermarket and re-used the nut (the Yamaha nut is NOT RE-USABLE). The original nut has a plastic feeling/looking ring right at the base of the teeth.
The stock nut has on the outer edge, a spot to peen it down to the shaft and acts as a lock nut.
It is very rare to have a chain just snap, even if poorly maintained. It'll make/feel all kinds of noises if service was lacking...
I bring this up in that if you bought it from a dealer, I'd be making some phone calls.
As FI posted above, if you can see the output bearing, its not good, its a main support for the transmission. Even if you were to weld it back, IMHO, I'd pull the transmission and get everything away from the work area as you'll be grinding to get to fresh aluminum, if the broken piece actually supports the main output shaft, you need to have your piece dead on with no mistakes...
Should everything not be 100%, you gambling with your life (and were
VERY LUCKY you didn't go down this time)...
IMHO, I'd be making contact with the seller and try and return the bike or work something out... Documenting other lack of maintainance issues/safety issues(sprocket/sprocket nut, go over the whole bike) would make a better case on your part. Spounds like it let loose the same day you bought it
Should you have to keepe the bike,
from what you describe, again , IMHO, I'd be looking at new cases (major $) or a a replacement engine(not as expensive but still alot of work)...
For what its worth, several bikes with certain frame sliders have gone down and on occasion, have snapped off the right side of the frame arm AND THE RIGHT SIDE ENGINE MOUNTING TAB... Of course the bike was totaled and the engine was also a parts motor at that point.
Being the optimist I am, look closely at the break in the case and make sure it
WASN'T THERE BEFORE (EPOXIED UP FOR A SALE) and if so, take approproate action....
Sorry to hear about your bad luck,
please post your final results..
Should you need a PDF Yamaha shop manual, PM me with an e-mail address to send it to..