My heart goes out to you. My parents were not divorced, but it was as if they were. They were workaoholics and were never home. I was sent to a boys home by the courts after getting in trouble while not being watched as a child and then they paid to leave me there for the rest of my schooling.
I was molested by my neighbor and shown pornography, and that along with little relationship with my father brought about homosexual thoughts etc. I needed an outlet because there was no true ntimacy in my life. You see, the lack of good intimacy and comradery from a father figure, will place a mark on a child forever, and cause them to do disordered things in order to try to find that intimacy they are lacking.
But there is hope! After much, drinking, drugging and stealing and almsot two years in jail, trying to find the next high, from relationshios, drugs, sex, alcohol etc, i came to know Jesus personally, and He saved my life. he removed the desire for homosexuality and drinking and drugs in the blink of an eye, not to mention the desire to steal. God is faithful to draw close to you, when you draw close to Him. I am now married with three children and have a new life in Christ and came home to the church he established upon peter!
I have to stay away from porn, from other triggers that can cause any type of moral relapse in my life. It is hard sometimes, but possible. confession has been a great gift in my life, amazing.
peace to you, Justin