How would a real gentleman say it?
Assuming that you’re referring to “pulling information out of your ass”, you could try: “Pulling facts out of thin air” or “making it up on the go”. Getting more creative with it: “unscripted intellect”, “on the spot expertise”.