All the Wrong Clues for the Right Solution (1981)
All the Wrong Clues for the Right Solution is a 1981 Hong Kong comedy film directed and co-written by Tsui Hark. The film stars George Lam as Yoho, Karl Maka as Ah Capone and Teddy Robin Kwan as Inspector Robin. Yoho is a down on his luck detective who find himself in trouble with the ganger Ah Capone who is planning to cheat elderly millionaires out of their stocks.
More at Wikipedia.