It turns out Super Mario 64 contains references from Tokimeki Memorial, a dating sim from two years before the former came out.
It's difficult to overstate just how big Konami's 1994 dating sim Tokimeki Memorial was for the Japanese game industry. It made a niche genre mainstream, and became the blueprint for the visual novels ...