This is a scheme I recreated based on physical circuit. Since there's no data available on CX2812 I recreated it's functionality based on how the rest of the circuit works. Accuracy of CX2812 recreation is limited to the functionality being used for flashlight control and pins being used in the circuit. Addition resistor (1 Ohm) I added next to capacitor was not present in the original however there has to be some adding element hidden in the chip itself because otherwise there would be no way a capacitor could discharge (of used as it was in the circuit).