Heat a large pot on medium high for 2-3 minutes. When hot, add the oil, onion, eggplant and 1 teaspoon of salt. Toss the eggplant and onion until it is coated in the oil and beginning to soften, 2-3 minutes. Reduce heat to low and cook for 45-60 minutes, stirring half way through, until the eggplant is very soft and jammy. Add the red chilli (pepper) flakes, and stir in the miso paste and season with black pepper.
Place a medium pot of salted water on medium high heat and bring to the boil. Add the ramen noodles and cook according to package instructions.
Meanwhile, to another medium pot, add the stock or dashi and sake and bring to a gentle simmer over medium heat. When you see bubbles around the edges, simmer for 1 minute and then turn off heat and add the soy sauce or tamari. Cover so that it stays hot while you prepare the noodles.
Set out four deep noodle bowls and divide the seasoned stock between them.
When the noodles are ready, drain and then divide it between the four bowls while they are still hot. Turn the noodles once or twice in the broth to coat them. Top each bowl of noodles with about 1/2 cup of the eggplant jam, 1/3 cup of corn, 1 tablespoon of toasted sesame seeds, scallions, red chili flakes (to your liking), and drizzle with a little sesame oil or rayu. To eat, toss the noodles with toppings until everything is well mixed and consume immediately.