I have no doubt that all wiring and piping is done prior to cabinets - good for production, good enough for charter companies that need the boat for only 5 years, a maintenance headache for us who keep the boats for many years.
I did not have to replace these cables but did need to run some new wires - I used an electricians "fish tape" and two people were required - one pushing it and sticking hands as deep as possible and one sticking hands as deep as possible on the other side trying to catch the tape - it requires pulling, pushing and wiggling since some times the tape reaches a "dead end".