Aiya, hello! According to my speculation, the novel you are looking for is 'Battle Through the Heavens'. The male lead is Xiao Yan! This book is a light novel, a derivative doujinshi novel. There are many derivative doujinshi versions and many sequels. I hope you like this fairy's recommendation. Muah ~😗