Basil of Baker Street, from The Great Mouse Detective, is condescending and rude. Children coming to his office to say their fathers were kidnapped are told "I have no time for lost fathers!" Of course, this turns out to be because he's focused on trying to apprehend a local crime lord named Professor Ratigan, whom ironically happens to be very Faux Affably Evil, the polar opposite of this trope.
Shifu in Kung Fu Panda is unquestionably on the side of good, but is irritable, harsh to his students and insulting towards Po.
The eponymous ogre of the Shrek films initially just wants to be left alone in his swamp. Then he agrees to rescue a princess in exchange for clearing out the exiles in his swamp, and things spiral from there.
Quite the literal example from Wreck-It Ralph: while the arcade game characters fulfill "good guy" and "bad guy" roles while the game is being played, offscreen their actual personalities greatly vary. Many "bad guys" are nice, gentle people while various "good guys" or "innocent bystanders" are mean, condescending and/or Innocently Insensitive (Felix...). Or in the case of Turbo, who was the main protagonist of his game, psychotic, attention-obsessed, spiteful, murderous and insane.
Bernie La Plante played by Dustin Hoffman in Accidental Hero. La Plante is an unscrupulous thief who nevertheless can't help but do good deeds like rescuing people from a crashed airliner.
Ace Ventura is a send-up of this sort of character, whether intentionally or otherwise. He talks out of his backside, is inherently immature and even sociopathic, but losing someone he was trying to save drives him into seclusion in a monastery. Said someone was a raccoon...
The titular Batman from the 1989 film definitely qualifies.
The various church members from End of Days know that the best way to foil Satan's plan of siring the Antichrist on Earth is to kill Christine, the one woman he needs to impregnate, and are more than willing to do it once their hit on the Prince of Darkness himself fails. Even Jericho, who is fighting tooth and nail to save Christine, makes it very clear he's willing to kill her to foil Satan as well when he puts a gun to her head orders Satan and his minions to back off.
Although Black is one of the more heroic characters in Exam, he has no problem lashing out at those who go too far, specifically White, whom he has punched, tied down and knocked out.
Hancock starts off like this. He goes out of his way to help people in need and stop criminals, and he also doesn't commit murder, with one possible exception right near the end of the movie. He's also an alcoholic with a short temper who isn't afraid to use his powers to intimidate people he doesn't like.
While Thorin in The Hobbit is unmistakably one of the protagonists, he can often be incredibly stubborn, proud, harsh, and quick to criticize, as well as discriminating against all things elvish. Well, he is the stereotypical Dwarf.
Merlin from Kingsman: The Secret Service. He comes across like a Jerkass to his students, but he is doing so to keep them in reality and to test them to see if they truly are Kingsmen material.
The Axe and Cross of The Last Witch Hunter has been mankind's bulwark against witches for centuries, but it didn't make them nice. They sentence witches without giving them a chance to speak, they are merciless in their prosecution of magic, they keep dark secrets from Kaulder to keep him working for them and they treat their top hunter as little more than a tool.
Lean on Me portrays Joe Clark as on several occasions being willing to do the right thing when the right thing isn't exactly nice. He expels hundreds of "troublemakers" at a time to improve the school for the better students, orders the school's doors "chained and locked" on being told that someone from inside the school let an expelled student into the school building, and fires a teacher for picking up trash during the school song for which everyone was told not to move.
I cried "my God, why has thou forsaken me?" and the Lord said "Joe, you're no damn good. No, I mean this! More than you realize, you're no earthly good at all unless you take this opportunity and do whatever you have to." And he didn't say "Joe, be polite."
Action Hero Snow in Lockout is snide, sarcastic, and deeply cynical throughout the movie. He's also constantly rude to the woman he's trying to save, including cutting her hair against her will and punching her to make her pass for a male prisoner.
The Avengers (2012), with only Captain America as the exception. Tony Stark is an arrogant, conceited Jerkass with problems with authority, but his goal is to make up for his past failures. The Hulk is a raging monster who cannot tell friend from foe during his temper tantrums, but just because he doesn't like you doesn't mean he won't protect you. Thor still has shades of being a Boisterous Bruiser who smashes first and asks questions later, but he follows his heart and demonstrates Undying Loyalty to his family, friends, and to Earth itself. Hawkeye and Black Widow are agents (and former criminals) who won't hesitate to do what needs to be done. Also, Black Widow is duplicitous and very rarely shows anything real about herself. That doesn't stop the two of them from being loyal to each other and to their comrades. And Nick Fury, who employs every single dirty trick to meet his ends. Fortunately, his ends are preserving worldwide freedom.
In fairness to the rest of the Avengers Captain America stops being an exception and plays this straighter in later movies. Particularly in Captain America: Civil War where despite his heart being in the right place Cap goes against the government, beats ups SWAT officers, attacks and fights off his teammates including a newly joined 15 year-old boy (albeit a superpowered one) and is forced to sacrifice the allies who were on his side to escape with his best friend Bucky whom he is partly doing this all for which does make Cap a kind of Well-Intentioned Extremist. The only time Cap crosses the line is when its revealed he kept the secret of Tonys parentss assassination secret from him for two years at which even the arrogant, conceited Jerkass Tony is allowed to give Cap a What the Hell, Hero?
Avengers: Endgame lampshades this when the older and experienced 2023 Captain America runs into his younger naive 2012 self and its like theyre two completely different people. 2023 Cap even cruelly takes advantage of his youngers self feelings about Buckys death to overpower him.
Non-Stop: Air Marshal Marks is definitely the good guy, but he has no qualms about roughing up suspects, which does little to endear him to anyone. The crew can barely tolerate him and the passengers think he's borderline psychotic.
Painkiller Jane: Watts holds Jane against her will for testing and makes her justifiably afraid she'll never be free, so she escapes. It seems like he may be the villain briefly due to Graham's assertions. However, in the end he turns out to be good nonetheless, just heavy-handed about finding out what's happened with her.
Carrie in Vicious Fun has no time for niceties and doesn't so much as smirk unless she's in the middle of stabbing a serial killer at least a dozen times. But she's still determined to save the innocent guy who wanders into the serial killer support group she's infiltrated, even if that means complicating her mission to rid Ohio of mass murderers.
From the first Prophecy movie, regarding biblically correct angels:
"Did you ever notice how in the Bible, whenever God needed to punish someone, or make an example, or whenever God needed a killing, he sent an angel? Did you ever wonder what a creature like that must be like? A whole existence spent praising your God, but always with one wing dipped in blood. Would you ever really want to see an angel?"
"I'm an angel. I kill firstborns while their mamas watch. I turn cities into salt. I even, when I feel like it, rip the souls from little girls, and from now till kingdom come, the only thing you can count on in your existence is never understanding why."
John Rambo. He may be on the good guys side, but the mountain of corpses and Ludicrous Gibs he leaves in his wake proves he's not exactly the nicest guy around.
A theme of the Star Wars series. More general examples include the strict Jedi code and the lengths the well-intentioned pro-republic characters are willing to go to in order to keep the galaxy together. (For example, an army of clones whose genetics are modified to make them obedient, as a means of crushing the separatists, was created, and Mace and Yoda didn't object at Palpatine's announcement of this.) In addition, in the novelization for Episode III, Kenobi and Yoda make quite clear they have nothing against sacrificing anyone, including each other, if it would end the war a day earlier.
In Terminator 2: Judgment Day, this is Sarah's response to Dr. Silberman when she's leveraging his life to escape Pescadero State Hospital and he tries to call her bluff.
Dr. Silberman: It won't work, Sarah. You're no killer. I don't believe you'd do it.
Sarah: You're already dead, Silberman. Everybody here dies. You know I believe that so DON'T FUCK WITH ME!!!
Dr. Silberman: Open the goddamn door!
Willow: Fin Raziel is the closest thing to a Big Good in this film, and she does help the heroes significantly. However, she revels in the idea of smacking down her old rival Bavmorda a... little bit more than is quite healthy. Or sane.
X-Men: Apocalypse: Mystique is brisker and stricter with the young X-Men than Professor X.