I think poor exchange rates was more at the fault rather than families not being interested. Pre-pandemic, I thought this would've been the Ice Age 5 of this franchise especially because of how bad DM3 was. The fact that it increased domestically and had a slight fall worldwide is impressive. With Mario looking to breakout, TLM should at least do great business domestic, SpiderVerse likely to make good numbers and a stronger plethora of family films, I think 2023 can be a strong rebound. Though mainly franchise sequels (and has arguably the same purpose as it's PG-13 counterparts), this March has shown the adult audience are coming back despite TGM and to an extent The Lost City were as exceptions as the only big hits.
Honestly, I think the TikTok stuff helped but not as much as we like to think. Also it being the first tolerable DM movie since the first and just being fun. The OW percentage from children/adults was about the same as any other Pixar/Disney sequel in that while adults/teen ratio was bigger than other animation, families were the main drivers.