"This is a kind of traditional Japanese nimono. It's really good for lunchboxes too. You can get Japanese kabocha pumpkin at a Japanese market, Chinese market, or another Asian market. The dish is even better the next day as leftovers (served hot or cold)."
Soak kabocha in a bowl of water for 15 minutes. Drain.
Combine kabocha squash, dashi stock, fried tofu, onion, sake, mirin, soy sauce, sugar, and salt in a saucepan. Cover with aluminum foil. Bring to a boil; reduce heat and simmer until kabocha squash is tender, about 15 minutes. Remove aluminum foil carefully.