To replace or reconnect the wires of a device or installation.
I had to rewire the circuit where the old wires had shorted out.
To change the functionality of something by altering the parameters or logic.
When our companies merged, I rewired our payment processing system to handle their invoices as well.
A new wiring
A new configuration of neurons in the brain