node {
void evaluate(Context ctx) {
// Read inputs
int input1 = getValue<input_NEW>(ctx);
XString input2 = getValue<input_Rstout>(ctx);
// Choose which input to forward based on selection
bool useInput1 = getValue<input_NEW>(ctx);
// Emit the selected input value as output
if (useInput1) {
emitValue<output>(ctx, input1);
} else {
emitValue<output>(ctx, input2);
}
}
}