We actually have a button there already on mobile. It’s used to toggle the formatting button on/off.
Here’s a quick mockup of what I’m proposing. We flip the position of these two buttons (maybe repurposing the gear icon to a vertical ellipsis), and add “Reply as linked topic” as an option in the top-right menu.