There are several "working class" type restaurants in the area around Nippori Station. I have stayed at the budget Tokiwa Hotel there and found someplace to eat every night, although I tend to be in bed by 10:00 pm so cannot comment on that hour.

If you have a little time while there, I recommend a walk over the pedestrian overpass near the station into the large, cool cemetery and adjacent temple. You can then take a walk around the old-town area for a nice break from the hustle of Tokyo.