Those bolts should be torqued to a proper spec. To avoid the cam turning while tightening, put the bike in a high gear, have someone depress the rear brake, and then tighten. This added "restriction" should allow you to tighten properly without damage to anything. Torque is likely in the 14-18# range. But seek the manual for verification.
You may be able to repair those threads. Verify the correct thread size AND pitch (8MM is 1.25, 10MM is also 1.25, 6MM is 1.0 on these bikes) and use a tap and some cutting fluid. 1/2 turn in, 1/4 turn out with the tap. Progress slowly, and keep squirting fluid in there as you go to aide in clearing the cuttings and assisting in the cut. Understand, that cam thread will be pretty hard metal, so use quality taps and plenty of fluid. A good set of taps and dies are essential for maintaining these bikes. Make sure you get METRIC! Far too many holes, threads, etc get buggered up over the years.
And replace both bolts once cleaned up.
A good idea is to use some LocTite (not on the sprocket bolts) in certain applications. Blue is for strong, non-permanent installation. Red is "gorilla" strength. Anti-sieze is also useful (think side cover screws, etc that you frequently need to remove). These are all thread "lubricants" and provide better hold, less likely cross-threading, and added torque (LocTite) when strong holds are needed.
You don't a lot of special tools, but you do need a few "essential" ones to deal with engines and drive train/safety systems. Or maintenance and repair of these older bikes.
If you have had the sprocket and cam off the bike previously, and weren't successful at getting it properly fastened, then probably the cam "wobbled" itself and the sprocket into a situation where the stress of the chain snapped the sprocket. Consider yourself lucky that other damage didn't occur.