Listen, I know how it goes when you are trying to help someone who keeps hurting herself or others, how desperately you want to make things alright.
You CANNOT fix her, you are NOT responsible for what happens to her, she took this road, she is an adult and she has to face the consequences of her actions. You can try to explain to her how terrible her desicions are until the cows come home, she is homeless and STILL is doing all that crap, she hasn't learned her lesson, is not ready to listen and by taking her in you have enabled her destructive behavior.
Who has custody of your daughter? if it is her then you should protect her and have her be with you, her mother is not well and is not a good parent at this point. Your d is only 12, she only sees mommy and not the big picture, you are in no obligation to help her, she decided to walk away and chosen the life she has now. As far as your d12 can understand you have to talk to her and tell her that mom has made her choice as an adult and that we all have to face the consequence of our actions, that you can't bail her out anymore. You were more than nice by letting her back in. Trust me, I know what you are going through, almost the same happened to me, but I was firm and with lots of hurt in my heart I had to tell stbx to leave... it's been one year, and he hasnt' changed, still is irresponsible, making bad choices and thinking only of himself, I have lost nothing.
Repeat to yourself: you are not responsible for her behavior or her life. This situation is destroying you. For your daughter, for YOURself you have to let her go. I know it's hard, but this person is destructive, she ceased to be the lovely woman you married, please, stay away from her and let her know that after the 2 wks have passed you will only talk to her about your d12 and she should not expect any more help from you. I believe in helping people with all my heart, I do, but your toxic exW is taking advantage of you and is destroying your peace, dragging you and d12 down with her.
Be not afraid...I will repay you for the years the locusts have eaten Joel2
30something 2kids survivor of S, MLC, A, D I have peace in my heart, at last.