Use a paring knife to make the cuts on the back of the shrimp a little deeper, so they open up into a nice shape when fried. Add the shrimp to a bowl along with the sugar, salt, garlic powder, onion powder, rice wine, sesame oil, and 1½ tablespoons cornstarch. Mix until evenly coated and set aside.
Make the sauce mixture by combining the hot water or chicken stock, sugar, oyster sauce, soy sauce, Shaoxing wine, rice vinegar, sesame oil, and white pepper.
Fill a medium pot with about 2-3 inches of frying oil, and place over medium-high heat until it reaches 350°F/175°C. When your oil is preheated, spread the remaining ¼ cup of the cornstarch over the shrimp and lightly toss it until the shrimp are evenly coated. The coating will appear a little wet, which is normal.
Carefully drop the shrimp one or two at a time into the oil in quick succession (so they cook evenly and are done roughly at the same time). Depending on the size of your pot, you will fry the shrimp in two or three batches. Fry for 2 to 3 minutes, using a slotted spoon or spider strainer to gently roll them around in the oil, so they fry evenly and don’t stick together. Transfer to a paper-towel-lined plate when they’re lightly golden and have just turned orange.
Add 1-2 tablespoons of water to the same bowl you used to marinate and dredge the shrimp. Use a rubber spatula to make a cornstarch slurry with the dregs of the cornstarch and marinade. This is what you’ll use to thicken the sauce. Set aside.
Heat a clean wok over medium heat. Add 2 teaspoons of the frying oil, along with the minced garlic. After 5-10 seconds (you don’t want the garlic to cook for very long), add the sauce mixture, increase the heat to high, and bring the sauce to a simmer.
Gradually add the cornstarch slurry to the sauce, stirring until the sauce is thick enough to coat a spoon. Add the fried shrimp and half of the sesame seeds. Toss until all of the shrimp is coated and the sauce is reduced, about 20 seconds or so.
Transfer to a serving plate and sprinkle with the remaining toasted sesame seeds. Serve with plenty of rice and a stir-fried vegetable to make it a complete meal!