This question already has an answer here:
I've been trying to find this series. I remember it came up as a possible solution to a different Identification question on this Stack, but I can't find it now.
It was a book, and it was pulp fiction style if memory serves.
Someone below suggested The Number of The Beast, and I believe that to be correct.