Here is a wiring diagram and photos of the inside of an Ibanez EDC710 bass guitar.
This bass has an after market pre-amp in it. Hope this helps you. There are no diagrams on the internet so I thought I would post this.
The orange on the diagram are the printed circuit board traces.The squares are the switch terminals.
I also marked a + and - on the diagram and you can ignore that.