>…or read the source code…
Good idea:
Step #1: read modules/libpref/Preferences.cpp
Step #2: default all function calls to `PREF_SetBoolPref` for `kTelemetryPref` with args true to false; remove all `PREF_LockPref` calls with kTelemetryPref
Step #3: ./mach build
Or .. just talk to someone on the team and ask questions. Mozilla is incredibly open and transparent. Anyone can even join team/product meetings on video chat.