Someone must have made custom chips at some point
You mean, like, a substitute for a 1975 part made from more-modern devices?
Good luck with that.
This chip stores 128 8-bit words. The stored pattern comes from the photo mask that's used to lay down the chip's internal wiring pattern. They took the desired bit patterns and put the zeros and ones on the chip when it was etched, along with all the other transistors, resistors and diodes that make up its internal circuitry.
Pretty much the picture of "custom". But all it does is to translate. The binary outputs of the digit switches feed into the MM5221. The output is the translated 8-bit binary code stored inside. This is what feeds the actual programmable-divider chips IC5 and IC6. This is where the binary channel selector would connect to a single-chip PLL in a newer-design type radio. No need to translate if the selector is custom-made to deliver the desired forty binary codes.
This radio isn't exactly steampunk, but it's about as close as you'll get.
73