Preheat 2 cups of oil in a wok until 350 degrees F.
Add shrimp to a bowl with shaoxing wine, soy sauce, spicy chili oil, and a pinch of salt and pepper. Let marinate as the sauce is prepared.
For the General Tso Sauce, heat a saucepan over medium heat. Add soy sauce, hoisin, spicy chili oil, sesame oil, and mirin to the pan and bring to a low boil. Once the sauce starts to bubble, stir in the cornstarch and remove from heat.
Add cornstarch and red pepper flakes to the shrimp and toss to coat. Fry for 3 minutes. Do not overcrowd the oil. Work in batches and place fried shrimp onto a paper towel lined sheet as you work.
Remove all but 1 tablespoon of oil from the pan. Add the garlic, ginger, dried red chiles, and sliced green and red chiles to the pan. Cook for 2 minutes. Pour in the sauce and stir. Cook until thickened, about 4 minutes.
Add the shrimp to the sauce in the wok and toss to coat.
Garnish with scallions and sesame seeds.
