Clarification on Hatch and slack pathway
I am not sure about the source of ATP but I can tell you something about NADPH.

The conversion of malate to pyruvate and CO₂ by malic enzyme is carried out in the bundle sheath cell. This process produces NADPH.