Via the hepatic artery the liver receives oxygen-rich blood from the heart. At the same time, oxygen-depleted blood from the small intestine enters the liver through the portal vein.
The spacecake has now been digested, and the THC reaches the liver through the portal vein. Later, when THC has spread throughout the body, it will also reach the liver via the heart and the hepatic artery.