Yes there is, in the Bambu Studio repo. From the base directory of it, try git grep -l machine_start_gcode
git grep -l machine_start_gcode