return function(G)if not cachedGamepassInfo[G]then local E=_L.Services.MarketplaceService:GetProductInfo(G,Enum.InfoType.GamePass)if E then cachedGamepassInfo[G]=E end return E else return cachedGamepassInfo[G]end end




return function(id)
	--- Check cache
	if not cachedGamepassInfo[id] then
		--- Get product info
		local productInfo = _L.Services.MarketplaceService:GetProductInfo(id, Enum.InfoType.GamePass)
		
		--- Update cache
		if productInfo then
			cachedGamepassInfo[id] = productInfo
		end
		
		--
		return productInfo
	else
		
		--- Return cache
		return cachedGamepassInfo[id]
	end
end
