No magic wand needed. If the perpetrator has chromosomes of the XY variety, and if the victim has chromosomes of the XY variety, then we have a homosexual molesting a child.
What's hard about that?
PS Yeah, if it's a woman molesting a girl, then substitute XX for XY in the example above.