These codes are for the USA version of SM64, and have been verified to work with SM64GSW correctly. Any additional details are found below, and the original code source has been linked to for credit.
50325491 0097
A1248154 0000
A1248156 0000
A1254A30 0000
A1254A32 0000
There’s A Giant Eye Ball Somewhere In Hazy Maze Cave
81331CA2 0054
81331CA4 0000
81331CA6 0001
Turn this code on before the tittle screen appears. Go to Hazy Haze Cave and look around the whole course for a giant eye ball that you get a star from when it’s defeated.
Replace Small Breakable Boxes With Vanish Cap Blocks
81331A22 2250
81331A24 0089
81331A26 0002
Turn this code on before the title screen appears. Go to any course that has the small breakable boxes and they will be replaced as vanish cap blocks.
Bouncing Boxes Replaced With Chunkyas
81331A9A 0528
80331A9D 00DF
Turn this code on before the title screen appears. Go to any course that has the small bouncing boxes and they will be replaced with chunkyas. NOTE: This code works, but the chuckyas are invisible.
80254207 8000
King Bob-Omb Appears Instead Of Water Bomb Drop
81331B3A 01F4
80331B3D 0056
Turn this code on before the title screen appears. Go to Bob-Omb Battlefield and go where the water bomb drop objects usually be and you should find king bob-ombs. NOTE: This code works, but the king bob-ombs are invisible.
812F8EC8 2400
Move Instantly After Teleportation
81249B48 2400
812D5950 2400
A032D58C 0001
8032D594 0001
A032D598 0059
81249734 1000
812505F4 1000
Enter Vanish Cap Under The Moat Without Draining Moat
812BA5D0 2400
8125415C 1000
A1254A30 0000
A1254A32 0000
8029CB73 0025
81254866 0005
81254872 5025
8124DDBC 2400
8124DE1C 2400
8124BBD4 2400
Seaweed Replaced With Water Koopa Shells
81331F3A 0708
80331F3D 00BE
Turn this code on before the title screen appears. Go to Jolly Roger Bay or Dire Dire Docks and the seaweed under the water will be replaced with water koopa shells that you can pick up and ride underwater.