Lai Shi, China's Last Eunuch (1988)
Lai Shi, China's Last Eunuch, also known as Last Eunuch in China, is a 1988 Hong Kong historical drama film directed by Jacob Cheung in his directorial debut and starring Max Mok in the title role of Liu Lai Shi. The film is based on Ni Kuang's novel about eunuch Sun Yaoting.
More at Wikipedia.