How to use netlist-passed parameter in C++ code

I would be fine even without code regeneration for late added parameters. I could simply remember that they need to be a new data[] element and manually write the line of code. However, if they could be “appended” at the end of data[], there will be no need to shift the outputs’ positions.

Something like this: