I am trying to build a 555 timer circuit and am stuck on understanding how exactly the discharge pin works. I am going off of these block diagram from the datasheet
RA, RB and C form an RC network in which C will charge and discharge. I very well could be wrong as I am still learning, but it seems that the discharge pin input acts as Vcc to the transistor's collector, and the base input to the same transistor is the SR flip-flop Q' output. Furthermore, RA and RB form a voltage divider network (this is where I believe I am most confused) that divides the voltage that has formed over the capacitor. The discharge input, which is Vcc to the transistor, takes the voltage over Rb.
The capacitor will discharge when the transistor is closed, meaning Vcc > base voltage on the transistor and the charge built up on the capacitor will be sunk to ground.
I don't understand exactly how RA and RB interplay with the discharge pin. Can someone explain this?