when I bought my CDX, it came with an odd ac adapter. The wall plug portion is an original cdx ac adapter, but it looked like it was severed at some points and the portion that plugged into the cdx was a different type of plug. Despite this, it worked fine until lately. I pulled on the cord and now the ac adapter doesn't work.

I know the cdx still works as I tried it with batteries for the cd player portion and with a gen model 2 AC adapter for the cdx portion.

I want to fix the ac adapter. I plan on cutting the cord and soldering the cdx power box to a gen model 2 cord. Is there any reason that this wouldn't work?