??? Not a native speaker, turns out short word is hardboiled.
> Please name some books in this style, since it seems to be on the tip of your tongue.
Googled for you: https://www.google.com/search?q=hardboiled+detective+book
I am glad you've lerned something new.
I don't know of any novels, but I do know that Calvin and Hobbes poked fun at this genre in some of the strips.
I suppose the comic books for Watchmen could fall into this same genre somewhat.
AI comments are against the rules and I think the commenter's lack of an explanation for their choice of words sufficiently establishes it wasn't their words to begin with.