I agree with you that the majority of meme coins are scams. I investigated smart contracts some of them (especially those that contain in their name "dog" like lady doge, baby doge etc) and almost everywhere I saw functions that showed me that developers just wanted to ride the gravy train. They just used the fact that dogecoin was trendy and people believed that meme coins were really profitable so started creating plenty of such coins.
There isn't any need for investigation. But curious to know anyway, since most people in this space aren't actually devs (and by this space I mean people entering into discussion).
Where are the functions that show this about developers?
AFAIK everyone just copy pastes from Github and then relaunches on another chain or L2.