I would like to ask which part of the file is the source code for the function in this picture
This looks like darktable, but you’ve posted in the RawTherapee category. Did you mean to do that?
The curve shows how each pixel in your image is changed (in your screenshot all non yellow pixels are changed): middle horizontal line = no change.
If you want to change a precise range of colors you can do this by adding further nodes or limit the range via parametric masks.
emm,,may i ask how to export color curves
Please have a look at the manual darktable 4.6 user manual - color zones .
Or you may want to have a look at darktable ep 048 - The Color Zones module - Invidious .