What truck is it? Most newer trucks have a connector on the tail light wiring harness that comes apart where you can put a t-plug in to it for the trailer lights. If it's factory, it probably has the t-plug somewhere in that mass of wires.
Maybe I misunderstood your response. Are the wires individually spliced in to the mass of wires?