The 4pins on the left side connect to the CNY70. The circuit amplifies the signal from the CNY70 transistor. It is just a reference circuit that should work out of the box.
Despite the resistance of the CNY70 changes, I get no chance in the amplification. More realistically, the transistor is modelled as current source (probably) but I thought a simple resistor could also do.