“The Gentlemen,” the latest from the excitable British director Guy Ritchie, gives you exactly what you might expect from a Guy Ritchie movie that hasn’t been constrained by studio decorousness (and ratings) or suavely tricked out with big-Hollywood cash. It’s talky and twisty, as usual, but also exuberantly violent (rather than PG-13 safe) and mischievously — or just aggressively — offensive (cue someone saying “Chinaman”). Also as usual, it’s stuffed with name actors who seem to be having a good time, which can be diverting when you’re not cringing. As is often the case with Guy Ritchie, the dudes far outnumber the women, here by roughly six to one.

The actors have been studiously ornamented and sometimes flamboyantly sleazed up with flash outfits, hair product and statement eyewear. Hugh Grant wears glasses (and a goatee), as do Charlie Hunnam, Jeremy Strong and Colin Farrell. All deliver lightly funny, loose turns and are generally nice to watch. That’s especially true of Grant (as a scummy snoop with an overcompensating long photo lens) and Farrell (an earnest, lethal coach with many tracksuits), whose roles, performances and outfits seem designed to obliterate their leading-man personas. Henry Golding, a romantic lead in the hit “Crazy Rich Asians,” doesn’t demolish his persona, just shrewdly roughs it up.

One of Farrell’s tracksuits — a resplendent tartan — is a thing of ludicrous beauty, as is his performance. His character is soft and tough, likes hats and further accessorizes with a crew of gym rats, who also wear tartan. In one scene, the gym rats rip off an illegal cannabis farm owned by a slinky kingpin played by Matthew McConaughey; they record the theft and turn it into a diverting music video, posting it online. It gets a lot of hits. This reads as yet another of Ritchie’s moments of reflexive cinematic self-reflexivity (as well as wishful thinking), much like the long-winded story that Grant’s character tells and that eventually leads to a laugh-killing shot of the Miramax logo.