advice please

soo i’ll give you the rundown.. my friend and i are 16 years old, she likes to act older than that at times by getting involved with older married men (in the past) ... & sneaking out... drinking... smoking... you name it. just recently i’ve noticed that her behavior is extremely dangerous so i decided to report it to her mom. her mom now knows everything i did, which includes my friend lying to her parents about “study group” which doesn’t exist and instead she gets picked up by a 22 year old man after school and they just “hangout”... i’m feeling super guilty about telling her mom because i know my friend will hate me forever.. but i also feel like i did a potentially good thing, at least her parents know now and it’s completely out of my hands.. i just hope she snaps out of it soon. can y’all just tell me if i did the right thing? my stomach hurts 😂