Heat a wok with oil. Add the cut onions.
Lightly fry till translucent. Add pork. Fry till colour.
Add pork cubes and garlic, fry with onions till browned.
Add the shaoxing wine, let it simmer for minute.
Add the soy sauce, dark soy sauce, sesame oil and ketchup.
Stir-fry and add water just almost covering. Add white pepper.
Let it come to a boil. Cover with lid. Simmer for about 1 hour stirring occasionally.
For the last 30 mins, add the chopped potatoes, put lid back on and cook till potatoes becomes fork tender and gravy becomes thick.
Add hard boiled eggs with the heat off.
Serve with white rice.