contact your local mental health facility they have programs that can help you with ,bipolar,alcaholism,drug abuse this may be part of the reason you are in the spot you are in believe me I know been there and done it GOD BLESS and good luck!!!
Yes, death is a possibility. Before you get to death though, you may experience erectile dysfunction, gastroparesis, kidney failure, sexual and urological problems, blindness, limb amputation, and/or heart disease. That's just from uncontrolled diabetes made much worse by smoking.
The National Institute of Health has some good information on the complications of diabetes as does the American Diabetic Association.
I agree with Dot.Calm. If you have the will power to loss 40 pounds you can also give up the other bad habits. You should get some professional help. Good luck.