Good catch - I think I made a mistake elsewhere too... The 'MappedParameter' list (t_mapped_params) is processed at the start with the name of the param var, so this should probably be:
```
for(uint32_t k = 0; k < p_variant -> parameter_count; k++)
    CodeWrite(p_coder, ", %s", t_mapped_params[k] -> var_name);
```
Similar when generating the native code parameter list.