This manhua feels like a Chinese version of "I Seriously Just Get Reincarnated as My Gag Character" except the protagonist is the mage and her sidekick is the dragon. Even the princess reminds me of the one in the manga, from how quickly she decided to go all in on the MC and bet that just having her around will somehow solve her problems.
Honestly, I sometimes feels sorry for the villains in these types of stories. Some spend decades creating their full proof 'masterplan' only to be foiled by some OP guy who only sided with the enemy because they were the first person they locked eyes with.